Interface LdapAuthoritiesPopulator
-
- All Known Implementing Classes:
DefaultLdapAuthoritiesPopulator,NestedLdapAuthoritiesPopulator,NullLdapAuthoritiesPopulator,UserDetailsServiceLdapAuthoritiesPopulator
public interface LdapAuthoritiesPopulatorObtains a list of granted authorities for an Ldap user.Used by the LdapAuthenticationProvider once a user has been authenticated to create the final user details object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<? extends org.springframework.security.core.GrantedAuthority>getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, java.lang.String username)Get the list of authorities for the user.
-
-
-
Method Detail
-
getGrantedAuthorities
java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, java.lang.String username)Get the list of authorities for the user.- Parameters:
userData- the context object which was returned by the LDAP authenticator.- Returns:
- the granted authorities for the given user.
-
-