Class NullLdapAuthoritiesPopulator
java.lang.Object
org.springframework.security.ldap.authentication.NullLdapAuthoritiesPopulator
- All Implemented Interfaces:
LdapAuthoritiesPopulator
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGrantedAuthorities
(org.springframework.ldap.core.DirContextOperations userDetails, String username) Get the list of authorities for the user.
-
Constructor Details
-
NullLdapAuthoritiesPopulator
public NullLdapAuthoritiesPopulator()
-
-
Method Details
-
getGrantedAuthorities
public Collection<GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userDetails, 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.
-