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