public final class NullLdapAuthoritiesPopulator extends java.lang.Object implements LdapAuthoritiesPopulator
| Constructor and Description |
|---|
NullLdapAuthoritiesPopulator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<GrantedAuthority> |
getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userDetails,
java.lang.String username)
Get the list of authorities for the user.
|
public java.util.Collection<GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userDetails, java.lang.String username)
LdapAuthoritiesPopulatorgetGrantedAuthorities in interface LdapAuthoritiesPopulatoruserDetails - the context object which was returned by the LDAP authenticator.