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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
ensureContextInitializedprotected void ensureContextInitialized()
- 
openContext
- 
openContext
- 
closeLdapCtxprotected void closeLdapCtx()
- 
closeLdapCtx
- 
search
- 
setRequestControls
- 
getResponseControls
- 
addPaginationControl
- 
addSortKey
- 
getValue
- 
getAllMemberspublic static NamingEnumeration<String> getAllMembers(String attributeId, LdapSearchResults searchResults) 
 
-