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