public interface LdapAuthoritiesPopulator
Used by the LdapAuthenticationProvider once a user has been authenticated to create the final user details object.
Modifier and Type | Method and Description |
---|---|
Collection<? extends GrantedAuthority> |
getGrantedAuthorities(DirContextOperations userData,
String username)
Get the list of authorities for the user.
|
Collection<? extends GrantedAuthority> getGrantedAuthorities(DirContextOperations userData, String username)
userData
- the context object which was returned by the LDAP authenticator.