public interface

LdapAuthoritiesPopulator

org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
Known Indirect Subclasses

Class Overview

Obtains a list of granted authorities for an Ldap user.

Used by the LdapAuthenticationProvider once a user has been authenticated to create the final user details object.

Summary

Public Methods
abstract Collection<? extends GrantedAuthority> getGrantedAuthorities(DirContextOperations userData, String username)
Get the list of authorities for the user.

Public Methods

public abstract Collection<? extends GrantedAuthority> getGrantedAuthorities (DirContextOperations userData, String username)

Get the list of authorities for the user.

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