Package com.flowable.idm.engine.ldap
Class PlatformGroupAttributesMapper
- java.lang.Object
-
- com.flowable.idm.engine.ldap.PlatformGroupAttributesMapper
-
- All Implemented Interfaces:
org.springframework.ldap.core.AttributesMapper<PlatformGroup>
public class PlatformGroupAttributesMapper extends java.lang.Object implements org.springframework.ldap.core.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 java.lang.String
getTenantId(javax.naming.directory.Attributes attributes)
LdapGroupTenantIdProvider
getTenantIdProvider()
LdapPlatformGroup
mapFromAttributes(javax.naming.directory.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(javax.naming.directory.Attributes attributes) throws javax.naming.NamingException
- Specified by:
mapFromAttributes
in interfaceorg.springframework.ldap.core.AttributesMapper<PlatformGroup>
- Throws:
javax.naming.NamingException
-
getTenantId
protected java.lang.String getTenantId(javax.naming.directory.Attributes attributes)
-
getGroupProperties
public LdapGroupProperties getGroupProperties()
-
setGroupProperties
public void setGroupProperties(LdapGroupProperties groupProperties)
-
getTenantIdProvider
public LdapGroupTenantIdProvider getTenantIdProvider()
-
setTenantIdProvider
public void setTenantIdProvider(LdapGroupTenantIdProvider tenantIdProvider)
-
-