Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

@spring-issuemaster
Copy link

@spring-issuemaster spring-issuemaster commented Apr 15, 2010

zhouyanming (Migrated from SEC-1461) said:

if attribute "user-service-ref" of element "ldap-authentication-provider" exists then use org.springframework.security.ldap.authentication.UserDetailsServiceLdapAuthoritiesPopulator
@spring-issuemaster

This comment has been minimized.

Copy link
Author

@spring-issuemaster spring-issuemaster commented May 24, 2010

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 http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#beans-factory-extension-bpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.