Package com.flowable.idm.engine.ldap
Class PlatformGroupAttributesMapper
- java.lang.Object
-
- com.flowable.idm.engine.ldap.PlatformGroupAttributesMapper
-
- All Implemented Interfaces:
AttributesMapper<PlatformGroup>
public class PlatformGroupAttributesMapper extends Object implements AttributesMapper<PlatformGroup>
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected LdapGroupProperties
groupProperties
protected LdapGroupTenantIdProvider
tenantIdProvider
-
Constructor Summary
Constructors Constructor Description PlatformGroupAttributesMapper(LdapGroupProperties groupProperties)
PlatformGroupAttributesMapper(LdapGroupProperties groupProperties, LdapGroupTenantIdProvider tenantIdProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LdapGroupProperties
getGroupProperties()
protected String
getTenantId(Attributes attributes)
LdapGroupTenantIdProvider
getTenantIdProvider()
LdapPlatformGroup
mapFromAttributes(Attributes attributes)
void
setGroupProperties(LdapGroupProperties groupProperties)
void
setTenantIdProvider(LdapGroupTenantIdProvider tenantIdProvider)
-
-
-
Field Detail
-
groupProperties
protected LdapGroupProperties groupProperties
-
tenantIdProvider
protected LdapGroupTenantIdProvider tenantIdProvider
-
-
Constructor Detail
-
PlatformGroupAttributesMapper
public PlatformGroupAttributesMapper(LdapGroupProperties groupProperties)
-
PlatformGroupAttributesMapper
public PlatformGroupAttributesMapper(LdapGroupProperties groupProperties, LdapGroupTenantIdProvider tenantIdProvider)
-
-
Method Detail
-
mapFromAttributes
public LdapPlatformGroup mapFromAttributes(Attributes attributes) throws NamingException
- Specified by:
mapFromAttributes
in interfaceAttributesMapper<PlatformGroup>
- Throws:
NamingException
-
getTenantId
protected String getTenantId(Attributes attributes)
-
getGroupProperties
public LdapGroupProperties getGroupProperties()
-
setGroupProperties
public void setGroupProperties(LdapGroupProperties groupProperties)
-
getTenantIdProvider
public LdapGroupTenantIdProvider getTenantIdProvider()
-
setTenantIdProvider
public void setTenantIdProvider(LdapGroupTenantIdProvider tenantIdProvider)
-
-