org.springframework.security.ldap.authentication
Class NullLdapAuthoritiesPopulator

java.lang.Object
  extended by org.springframework.security.ldap.authentication.NullLdapAuthoritiesPopulator
All Implemented Interfaces:
LdapAuthoritiesPopulator

public final class NullLdapAuthoritiesPopulator
extends Object
implements LdapAuthoritiesPopulator

Since:
3.0

Constructor Summary
NullLdapAuthoritiesPopulator()
           
 
Method Summary
 Collection<GrantedAuthority> getGrantedAuthorities(DirContextOperations userDetails, String username)
          Get the list of authorities for the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullLdapAuthoritiesPopulator

public NullLdapAuthoritiesPopulator()
Method Detail

getGrantedAuthorities

public Collection<GrantedAuthority> getGrantedAuthorities(DirContextOperations userDetails,
                                                          String username)
Description copied from interface: LdapAuthoritiesPopulator
Get the list of authorities for the user.

Specified by:
getGrantedAuthorities in interface LdapAuthoritiesPopulator
Parameters:
userDetails - the context object which was returned by the LDAP authenticator.
Returns:
the granted authorities for the given user.