Hi All,
I am using spring xml namspace to define an LDAP server and an LDAP authentication provider:
,Code:<ldap-server id="ldapServer" url="ldap://localhost:389/" manager-dn="....." manager-password="...."/>
I have defined a custom UserDetailsService to load user authorities from DBCode:<ldap-authentication-provider server-ref="ldapServer"/>
Is there a way to set the "ldapAuthoritiesPopulator" bean in the "ldap-authentication-provider" using XMl namespace?Code:<beans:bean id="ldapAuthoritiesPopulator" class="org.springframework.security.ldap.authentication.UserDetailsServiceLdapAuthoritiesPopulator"> <beans:constructor-arg index="0" ref="defaultUserDetailsService"/> </beans:bean>
Thanks


Reply With Quote
