Class LdapClient
java.lang.Object
org.camunda.bpm.identity.impl.ldap.LdapClient
This wrapper class should ensure that LDAP exceptions are wrapped as process engine exceptions
to avoid that error details are disclosed in the REST API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPaginationControl(List<Control> listControls, byte[] cookie, Integer pageSize) static voidaddSortKey(SortKey sortKey, List<Control> controls) protected voidprotected voidcloseLdapCtx(LdapContext context) protected voidstatic NamingEnumeration<String>getAllMembers(String attributeId, LdapSearchResults searchResults) Control[]protected static StringgetValue(String attrName, Attributes attributes) protected LdapContextopenContext(String dn, String password) voidsetRequestControls(List<Control> listControls)
-
Field Details
-
initialContext
-
ldapConfiguration
-
-
Constructor Details
-
LdapClient
-
-
Method Details
-
ensureContextInitialized
protected void ensureContextInitialized() -
openContext
-
openContext
-
closeLdapCtx
protected void closeLdapCtx() -
closeLdapCtx
-
search
-
setRequestControls
-
getResponseControls
-
addPaginationControl
-
addSortKey
-
getValue
-
getAllMembers
public static NamingEnumeration<String> getAllMembers(String attributeId, LdapSearchResults searchResults)
-