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