public class UserDetailsServiceLdapAuthoritiesPopulator extends java.lang.Object implements LdapAuthoritiesPopulator
Constructor and Description |
---|
UserDetailsServiceLdapAuthoritiesPopulator(UserDetailsService userService) |
Modifier and Type | Method and Description |
---|---|
GrantedAuthority[] |
getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData,
java.lang.String username)
Get the list of authorities for the user.
|
public UserDetailsServiceLdapAuthoritiesPopulator(UserDetailsService userService)
public GrantedAuthority[] getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, java.lang.String username)
LdapAuthoritiesPopulator
getGrantedAuthorities
in interface LdapAuthoritiesPopulator
userData
- the context object which was returned by the LDAP authenticator.