Announcement Announcement Module
Collapse
No announcement yet.
DefaultLdapAuthoritiesPopulator from memberof attribute (v group search) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultLdapAuthoritiesPopulator from memberof attribute (v group search)

    i have a scenario where there is a 'memberof' attribute on the 'person' entity containing groups that they are a member of.

    is using a 'local' attribute like that supported by default-ldap-authorities-populator via configuration?

    i looked at the code, tried a couple of things and haven't been able to get it to work.

    here's my latest shot:

    Code:
    	<bean id="authoritiesPopulator" class="org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator">
    		<constructor-arg ref="contextSource" />
    		<constructor-arg value="" /> <!-- group-search-base: use blank to attempt to resolve auths from attr on cn (e.g. memberof) -->
    		<property name="groupSearchFilter" value="cn={0}" /> <!-- blank? -->
    		<property name="groupRoleAttribute" value="memberof" />
    	</bean>
    just wondering if this is a well traversed or fringe use case?

    if the former, any guidance appreciated

    regards,
    tony.
Working...
X