public class UserDetailsServiceLdapAuthoritiesPopulator extends Object implements LdapAuthoritiesPopulator
Constructor and Description |
---|
UserDetailsServiceLdapAuthoritiesPopulator(UserDetailsService userService) |
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.
|
public UserDetailsServiceLdapAuthoritiesPopulator(UserDetailsService userService)
public Collection<? extends GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, String username)
LdapAuthoritiesPopulator
getGrantedAuthorities
in interface LdapAuthoritiesPopulator
userData
- the context object which was returned by the LDAP authenticator.Copyright © 2015. All rights reserved.