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
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 Details
-
Constructor Details
-
PlatformGroupAttributesMapper
-
PlatformGroupAttributesMapper
public PlatformGroupAttributesMapper(LdapGroupProperties groupProperties, LdapGroupTenantIdProvider tenantIdProvider)
-
-
Method Details
-
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
-
setGroupProperties
-
getTenantIdProvider
-
setTenantIdProvider
-