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 |
---|---|
GrantedAuthority[] |
getGrantedAuthorities(LdapUserDetails userDetails)
Get the list of authorities for the user.
|
GrantedAuthority[] getGrantedAuthorities(LdapUserDetails userDetails) throws LdapDataAccessException
userDetails
- the user details object which was returned by the LDAP authenticator.LdapDataAccessException
- if there is a problem accessing the directory.Copyright © 2016. All rights reserved.