public final class

NullLdapAuthoritiesPopulator

extends Object
implements LdapAuthoritiesPopulator
java.lang.Object
   ↳ org.springframework.security.ldap.authentication.NullLdapAuthoritiesPopulator

Summary

Public Constructors
NullLdapAuthoritiesPopulator()
Public Methods
Collection<GrantedAuthority> getGrantedAuthorities(DirContextOperations userDetails, String username)
Get the list of authorities for the user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator

Public Constructors

public NullLdapAuthoritiesPopulator ()

Public Methods

public Collection<GrantedAuthority> getGrantedAuthorities (DirContextOperations userDetails, String username)

Get the list of authorities for the user.

Parameters
userDetails the context object which was returned by the LDAP authenticator.
Returns
  • the granted authorities for the given user.