Package org.flowable.ldap
Class LDAPQueryBuilder
- java.lang.Object
-
- org.flowable.ldap.LDAPQueryBuilder
-
public class LDAPQueryBuilder extends Object
Class with overridable methods that are called when doing the calls to the ldap system. You can extend this class and plug it into theLDAPConfigurationif the default queries are inadequate for your use case.- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description LDAPQueryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildQueryByFullNameLike(LDAPConfiguration ldapConfigurator, String searchText)StringbuildQueryByUserId(LDAPConfiguration ldapConfigurator, String userId)StringbuildQueryGroupsById(LDAPConfiguration ldapConfigurator, String groupId)StringbuildQueryGroupsForUser(LDAPConfiguration ldapConfigurator, String userId)protected SearchControlscreateSearchControls(LDAPConfiguration ldapConfigurator)
-
-
-
Method Detail
-
buildQueryByUserId
public String buildQueryByUserId(LDAPConfiguration ldapConfigurator, String userId)
-
buildQueryGroupsForUser
public String buildQueryGroupsForUser(LDAPConfiguration ldapConfigurator, String userId)
-
buildQueryByFullNameLike
public String buildQueryByFullNameLike(LDAPConfiguration ldapConfigurator, String searchText)
-
buildQueryGroupsById
public String buildQueryGroupsById(LDAPConfiguration ldapConfigurator, String groupId)
-
createSearchControls
protected SearchControls createSearchControls(LDAPConfiguration ldapConfigurator)
-
-