• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Verification of Organizational Role in (eDirectory) JNDI.

Tarun Dewan
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In our project, we have multiple Organizational Units under Organization.
For e.g: A is the organization and A1, A2, A3 and A_USERS are Organizational Unit.
Now all users are defined in A_USERS organizational Unit. like USER1 and USER2.
All roles are defined in A1, A2 and A3 organizational Units, say 'MANAGER'. And Users are added into this role.
WHen we access/authenticate/connect with USER1, we get "SecurityEquals" attribute value for this user as follows
securityEquals : cn=Manager,ou=A1,o=Org1
securityEquals : cn=Manager,ou=A2,o=Org1
securityEquals : cn=Manager,ou=A3,o=Org1
PLs. give some code snippets to verify whether USER1 is an Manager for Organizational Unit A1 or not.
Looking forward for an earlier response.
Thanks & regards,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic