Class NullLdapAuthoritiesPopulator

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

public final class NullLdapAuthoritiesPopulator extends Object implements LdapAuthoritiesPopulator
Since:
3.0
  • Constructor Details

    • NullLdapAuthoritiesPopulator

      public NullLdapAuthoritiesPopulator()
  • Method Details

    • getGrantedAuthorities

      public Collection<org.springframework.security.core.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 interface LdapAuthoritiesPopulator
      Parameters:
      userDetails - the context object which was returned by the LDAP authenticator.
      Returns:
      the granted authorities for the given user.