我有2个Web应用程序,我想使用连接到LDAP的CAS服务器进行身份验证。我已经安装了apache DS并配置了这样的CAS服务器:https://wiki.jasig.org/display/CASUM/CAS+on+Windows+Quick+Setup+Guide首先我将它添加到cas server中的pom.xml:$ {project.groupId} cas-server-support-ldap $ {project.version}然后在deployerConfigContext.xml中添加这一行:ldap:// localhost:10389
移除了演示认证处理程序添加了这个:对于最后的步骤,我已经将这两个步骤添加到libs:spring-ldap-XYZRELEASE-all.jar cas-server-support-ldap- $ VERSION.jar我一部署了cas服务器在tomcat中,我尝试使用admin / secret凭据登录,但会显示以下消息:您提供的凭据无法确定为可信凭据。
请帮忙。
看看我做了一段时间后建立CAS服务器的文章。它应该易于理解。
http://blog.mosheldon.com/2011/04/cas-sso-347-with-ldapad-attributes.html