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