按照本教程,我尝试将我的Active Directory连接为wso2 Identity Server 5.3.0的用户存储:https://docs.wso2.com/display/IS530/Configuring+an+Active+Directory+User+Store
我的Active目录在ldap而不是ldaps上使用。
运行wso2 Identity Server后我试图在管理控制台(localhost:9443 / carbon)中以管理员身份登录,但是我收到此错误:
04-20 10:23:39,691] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user tomer
[2017-04-20 10:23:39,691] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - value after escaping special characters in tomer : tomer
[2017-04-20 10:23:39,694] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - User: tomer exist: true
[2017-04-20 10:23:39,696] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user tomer
[2017-04-20 10:23:39,697] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - value after escaping special characters in tomer : tomer
[2017-04-20 10:23:39,697] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - User: tomer exist: true
[2017-04-20 10:23:39,697] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user tomer
[2017-04-20 10:23:39,697] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - value after escaping special characters in tomer : tomer
[2017-04-20 10:23:39,697] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - User: tomer exist: true
[2017-04-20 10:23:39,698] ERROR {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Error occurred while accessing Java Security Manager Privilege Block
[2017-04-20 10:23:39,699] ERROR {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - System error while Authenticating/Authorizing User : Error when handling event : PRE_AUTHENTICATION
我看到身份验证是最重要的ReadOnlyLDAPUserStoreManager,但是这个用户存储在user-mgt.xml文件中被注释掉了。
谁知道该怎么办?