wso2 api manager 1.6.0 problems with User store management using ActiveDirectoryUserStoreManager

回眸只為那壹抹淺笑 提交于 2019-12-13 05:17:39

问题


I'm trying to setup a ActiveDirectoryUserStoreManager as a secondary user store. But I cannot seem to get the Role assignment of users correct.

What I have done so far: - Made the AD ldap-connection - Retrieved the users from the AD - Retrieved the roles from the AD - Can view Users that are connected to a specific role in API Manager Gui

My problem: When I go to a user and click "View Roles" in the API Manager Gui ({IP}:9443/carbon/user/user-mgt.jsp) I get a "No matching roles found" dialog. But when I go to a Role ({IP}:9443/carbon/role/role-mgt.jsp) and click "View Users" I can see that the user I "View Roles" of above is actually in that role.

So obviously I have some sort of miss connection between the Users that are connected to Roles and the Roles that are connected to a User. I just cannot figure out where I'm getting it wrong.

If anyone would give me any hint or even ask a question about something I haven't already tried that would be awesome!


回答1:


Seems to be a problem with your RoleDNPattern. You can first try by commenting it and see if it resolves the problem. If it does, then have to compose the correct query for that.



来源:https://stackoverflow.com/questions/22989985/wso2-api-manager-1-6-0-problems-with-user-store-management-using-activedirectory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!