Package com.flowable.idm.engine.ldap
Class PlatformUserAttributesMapper
java.lang.Object
com.flowable.idm.engine.ldap.PlatformUserAttributesMapper
- All Implemented Interfaces:
org.springframework.ldap.core.AttributesMapper<PlatformUser>
public class PlatformUserAttributesMapper extends java.lang.Object implements org.springframework.ldap.core.AttributesMapper<PlatformUser>
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected LdapUserTenantIdProvider
tenantIdProvider
protected LdapUserDefinitionKeyProvider
userDefinitionKeyProvider
protected LdapUserProperties
userProperties
-
Constructor Summary
Constructors Constructor Description PlatformUserAttributesMapper(LdapUserProperties userProperties)
PlatformUserAttributesMapper(LdapUserProperties userProperties, LdapUserTenantIdProvider tenantIdProvider, LdapUserDefinitionKeyProvider userDefinitionKeyProvider)
-
Method Summary
Modifier and Type Method Description protected java.lang.String
getDisplayName(javax.naming.directory.Attributes attributes)
protected java.lang.String
getTenantId(javax.naming.directory.Attributes attributes)
LdapUserTenantIdProvider
getTenantIdProvider()
protected java.lang.String
getUserDefinitionKey(javax.naming.directory.Attributes attributes)
LdapUserDefinitionKeyProvider
getUserDefinitionKeyProvider()
LdapUserProperties
getUserProperties()
protected PlatformIdentityInfo
info(java.lang.String name, java.lang.String value, PlatformUser user)
LdapPlatformUser
mapFromAttributes(javax.naming.directory.Attributes attributes)
void
setTenantIdProvider(LdapUserTenantIdProvider tenantIdProvider)
void
setUserDefinitionKeyProvider(LdapUserDefinitionKeyProvider userDefinitionKeyProvider)
void
setUserProperties(LdapUserProperties userProperties)
-
Field Details
-
Constructor Details
-
PlatformUserAttributesMapper
-
PlatformUserAttributesMapper
public PlatformUserAttributesMapper(LdapUserProperties userProperties, LdapUserTenantIdProvider tenantIdProvider, LdapUserDefinitionKeyProvider userDefinitionKeyProvider)
-
-
Method Details
-
mapFromAttributes
public LdapPlatformUser mapFromAttributes(javax.naming.directory.Attributes attributes) throws javax.naming.NamingException- Specified by:
mapFromAttributes
in interfaceorg.springframework.ldap.core.AttributesMapper<PlatformUser>
- Throws:
javax.naming.NamingException
-
getDisplayName
protected java.lang.String getDisplayName(javax.naming.directory.Attributes attributes) -
getTenantId
protected java.lang.String getTenantId(javax.naming.directory.Attributes attributes) -
getUserDefinitionKey
protected java.lang.String getUserDefinitionKey(javax.naming.directory.Attributes attributes) -
info
protected PlatformIdentityInfo info(java.lang.String name, java.lang.String value, PlatformUser user) -
getUserProperties
-
setUserProperties
-
getTenantIdProvider
-
setTenantIdProvider
-
getUserDefinitionKeyProvider
-
setUserDefinitionKeyProvider
-