SEC-1461: support use UserDetailsServiceLdapAuthoritiesPopulator using security namespace #1701

spring-issuemaster opened this Issue Apr 15, 2010 · 1 comment


None yet

1 participant


zhouyanming (Migrated from SEC-1461) said:

if attribute "user-service-ref" of element "ldap-authentication-provider" exists then use


Luke Taylor said:

I don't think it's a good idea to use this attribute with the LDAP provider. The end result is quite limited - if anything it would be better to support a reference to an LdapAuthoritiesPopulator directly. However, it will complicate the use of the element and require further documentation on which attributes need to be used together and which are mutually exclusive. If you want to inject an LdapAuthoritiesPopulator but still continue using the namespace form, you can do this using a BeanPostProcessor. See

@spring-issuemaster spring-issuemaster added this to the 3.1.0.M1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment