public class DefaultLdapUserGroupsProvider extends Object implements LdapUserGroupsProvider
Modifier and Type | Field and Description |
---|---|
protected LdapConfigurationApi |
ldapConfigurationApi |
Constructor and Description |
---|
DefaultLdapUserGroupsProvider(LdapConfigurationApi ldapConfigurationApi) |
Modifier and Type | Method and Description |
---|---|
List<PlatformGroup> |
determineUserGroups(String userDn,
Attributes userAttributes)
Determine the groups that the user belongs to.
|
protected final LdapConfigurationApi ldapConfigurationApi
public DefaultLdapUserGroupsProvider(LdapConfigurationApi ldapConfigurationApi)
public List<PlatformGroup> determineUserGroups(String userDn, Attributes userAttributes)
LdapUserGroupsProvider
determineUserGroups
in interface LdapUserGroupsProvider
userDn
- the distinguished name of the useruserAttributes
- the user attributes