Class NullLdapAuthoritiesPopulator
- java.lang.Object
-
- org.springframework.security.ldap.authentication.NullLdapAuthoritiesPopulator
-
- All Implemented Interfaces:
LdapAuthoritiesPopulator
public final class NullLdapAuthoritiesPopulator extends java.lang.Object implements LdapAuthoritiesPopulator
- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description NullLdapAuthoritiesPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<GrantedAuthority>
getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userDetails, java.lang.String username)
Get the list of authorities for the user.
-
-
-
Method Detail
-
getGrantedAuthorities
public java.util.Collection<GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userDetails, java.lang.String username)
Description copied from interface:LdapAuthoritiesPopulator
Get the list of authorities for the user.- Specified by:
getGrantedAuthorities
in interfaceLdapAuthoritiesPopulator
- Parameters:
userDetails
- the context object which was returned by the LDAP authenticator.- Returns:
- the granted authorities for the given user.
-
-