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 LdapConfigurationApi
ldapConfigurationApi
protected org.slf4j.Logger
logger
protected AtomicBoolean
warnLogged
-
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:LdapUserGroupsProvider
Determine the groups that the user belongs to.- Specified by:
determineUserGroups
in interfaceLdapUserGroupsProvider
- Parameters:
userDn
- the distinguished name of the useruserAttributes
- the user attributes- Returns:
- the groups that the user belongs to
-
-