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