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 |
---|---|
java.util.Collection<? extends GrantedAuthority> |
getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData,
java.lang.String username)
Get the list of authorities for the user.
|
java.util.Collection<? extends GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, java.lang.String username)
userData
- the context object which was returned by the LDAP authenticator.