Package com.flowable.idm.engine.ldap
Class DistinguishedNameProviderImpl
java.lang.Object
com.flowable.idm.engine.ldap.DistinguishedNameProviderImpl
- All Implemented Interfaces:
DistinguishedNameProvider
Default implementation of
DistinguishedNameProvider
that uses the Spring LdapTemplate
to query for the information.- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContextMapper<String>
protected LdapGroupProperties
protected LdapOperations
protected LdapUserProperties
-
Constructor Summary
ConstructorDescriptionDistinguishedNameProviderImpl
(LdapOperations ldapOperations, LdapUserProperties userProperties, LdapGroupProperties groupProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<String>
getEntryDns
(Collection<String> attributeMappings, Collection<String> attributeValues, String dnMapping) getGroupDnsFromIds
(Collection<String> groupIds) getGroupDnsFromKeys
(Collection<String> groupKeys) getUserDns
(Collection<String> userIds) void
setDnContextMapper
(ContextMapper<String> dnContextMapper) void
setGroupProperties
(LdapGroupProperties groupProperties) void
setLdapOperations
(LdapOperations ldapOperations) void
setUserProperties
(LdapUserProperties userProperties)
-
Field Details
-
ldapOperations
-
userProperties
-
groupProperties
-
dnContextMapper
-
-
Constructor Details
-
DistinguishedNameProviderImpl
public DistinguishedNameProviderImpl(LdapOperations ldapOperations, LdapUserProperties userProperties, LdapGroupProperties groupProperties)
-
-
Method Details
-
getUserDns
- Specified by:
getUserDns
in interfaceDistinguishedNameProvider
-
getGroupDnsFromKeys
- Specified by:
getGroupDnsFromKeys
in interfaceDistinguishedNameProvider
-
getGroupDnsFromIds
- Specified by:
getGroupDnsFromIds
in interfaceDistinguishedNameProvider
-
getEntryDns
protected Collection<String> getEntryDns(Collection<String> attributeMappings, Collection<String> attributeValues, String dnMapping) -
getUserProperties
-
setUserProperties
-
getGroupProperties
-
setGroupProperties
-
getLdapOperations
-
setLdapOperations
-
getDnContextMapper
-
setDnContextMapper
-