java.lang.Object |
↳ |
org.springframework.security.ldap.authentication.UserDetailsServiceLdapAuthoritiesPopulator |
Class Overview
Simple LdapAuthoritiesPopulator which delegates to a UserDetailsService, using the name which
was supplied at login as the username.
Public Constructors
Public Methods
public
Collection<? extends GrantedAuthority>
getGrantedAuthorities
(DirContextOperations userData, String username)
Get the list of authorities for the user.
Parameters
userData
| the context object which was returned by the LDAP authenticator. |
Returns
- the granted authorities for the given user.