0
正在尝试使用AD进行身份验证来更改我的Web应用程序。我的应用程序使用Tomcat 5.5.17。目前它使用UserDatabaseRealm来认证应用程序的用户。在阅读了很多文章后,我在server.xml中使用了以下配置。 (由于我刚刚开始,我没有担心角色)。将AD与运行在Tomcat上的Web应用程序集成在一起
但是当我真的尝试登录时,我似乎得到这个错误。 (我用JXplorer通过ActiveDirectory的导航,因此我知道URL作品)
javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece
INFO | jvm 1 | 2009/12/21 08:55:31 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3045)
INFO | jvm 1 | 2009/12/21 08:55:31 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
INFO | jvm 1 | 2009/12/21 08:55:31 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)
INFO | jvm 1 | 2009/12/21 08:55:31 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1812)
在哪里我得到它错了任何想法?
感谢 ķ
您可以发布配置吗? – 2009-12-21 15:40:25
感谢您的回应。如果您有兴趣,我会欢迎您对 的评论http://stackoverflow.com/questions/1953317/legacy-application-with-jdbc-and-jndi-realm-authentication – 2009-12-23 18:05:45