Verification of Organizational Role in (eDirectory) JNDI.
posted 12 years ago
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, Tarun.