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 LdapUserTenantIdProvidertenantIdProviderprotected LdapUserDefinitionKeyProvideruserDefinitionKeyProviderprotected LdapUserPropertiesuserProperties -
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.StringgetDisplayName(javax.naming.directory.Attributes attributes)protected java.lang.StringgetTenantId(javax.naming.directory.Attributes attributes)LdapUserTenantIdProvidergetTenantIdProvider()protected java.lang.StringgetUserDefinitionKey(javax.naming.directory.Attributes attributes)LdapUserDefinitionKeyProvidergetUserDefinitionKeyProvider()LdapUserPropertiesgetUserProperties()protected PlatformIdentityInfoinfo(java.lang.String name, java.lang.String value, PlatformUser user)LdapPlatformUsermapFromAttributes(javax.naming.directory.Attributes attributes)voidsetTenantIdProvider(LdapUserTenantIdProvider tenantIdProvider)voidsetUserDefinitionKeyProvider(LdapUserDefinitionKeyProvider userDefinitionKeyProvider)voidsetUserProperties(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:
mapFromAttributesin 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
-