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<org.springframework.security.core.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<org.springframework.security.core.GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userDetails, java.lang.String username)Description copied from interface:LdapAuthoritiesPopulatorGet the list of authorities for the user.- Specified by:
getGrantedAuthoritiesin interfaceLdapAuthoritiesPopulator- Parameters:
userDetails- the context object which was returned by the LDAP authenticator.- Returns:
- the granted authorities for the given user.
-
-