Jun 23rd, 2006, 08:51 AM
ldap roles populator using objectclass attributes
In the LDAP authentication examples, the user roles are fetched from the ldap server by searching the ou=groups,... DN and then checking if the user is a member of that group.
The ldap server at our company is organised differently though. Every user belongs to the ou=people,... DN and we use the objectclass attribute as a user role, for example objectclass=employee should result in a role named EMPLOYEE, objectclass=student in a role STUDENT, etc...
Is it possible to use the DefaultLdapAuthoritiesPopulator for this kind of role assignment?
Jun 24th, 2006, 08:20 AM