Announcement Announcement Module
No announcement yet.
Authorities at multiple locations in an active directory Page Title Module
Move Remove Collapse
This topic is closed
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Authorities at multiple locations in an active directory

    As it stands, we have groups (authorities) located in two (or more) locations in our AD.

    <bean id="authoritiesPopulator" class=" .DefaultLdapAuthoritiesPopulator">
    <constructor-arg ref="contextSource" />
    <constructor-arg value="CN=Users" />
    <property name="groupRoleAttribute" value="CN" />
    <property name="searchSubtree" value="true" />
    <property name="rolePrefix" value="" />
    <property name="convertToUpperCase" value="false" />

    Now, I've tried changing the second constructor-arg to value="" but that generates an error, and I've been looking for a way to set up more than one populator but to no avail (other than making one myself - which is I guess an option if there's no configuration-based way to do it). Spring security version is 2.0.4.

  • #2
    Heh, referrals. Problem solved:

    <bean id="contextSource" class=" ringSecurityContextSource">
    <property name="baseEnvironmentProperties">
    <entry key="java.naming.referral" value="follow" />