Package com.flowable.idm.engine.ldap
Class DefaultLdapUserGroupsProvider
- java.lang.Object
-
- com.flowable.idm.engine.ldap.DefaultLdapUserGroupsProvider
-
- All Implemented Interfaces:
LdapUserGroupsProvider
public class DefaultLdapUserGroupsProvider extends Object implements LdapUserGroupsProvider
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected LdapConfigurationApildapConfigurationApiprotected org.slf4j.Loggerloggerprotected AtomicBooleanwarnLogged
-
Constructor Summary
Constructors Constructor Description DefaultLdapUserGroupsProvider(LdapConfigurationApi ldapConfigurationApi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PlatformGroup>determineUserGroups(String userDn, Attributes userAttributes)Determine the groups that the user belongs to.
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
ldapConfigurationApi
protected final LdapConfigurationApi ldapConfigurationApi
-
warnLogged
protected final AtomicBoolean warnLogged
-
-
Constructor Detail
-
DefaultLdapUserGroupsProvider
public DefaultLdapUserGroupsProvider(LdapConfigurationApi ldapConfigurationApi)
-
-
Method Detail
-
determineUserGroups
public List<PlatformGroup> determineUserGroups(String userDn, Attributes userAttributes)
Description copied from interface:LdapUserGroupsProviderDetermine the groups that the user belongs to.- Specified by:
determineUserGroupsin interfaceLdapUserGroupsProvider- Parameters:
userDn- the distinguished name of the useruserAttributes- the user attributes- Returns:
- the groups that the user belongs to
-
-