Package io.jmix.ldap.search
Class JmixLdapTemplate
java.lang.Object
org.springframework.ldap.core.LdapTemplate
io.jmix.ldap.search.JmixLdapTemplate
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.ldap.core.LdapOperations
public class JmixLdapTemplate
extends org.springframework.ldap.core.LdapTemplate
Extension of Spring LDAP's LdapTemplate class which adds extra functionality required by Jmix.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.ldap.core.LdapTemplate
org.springframework.ldap.core.LdapTemplate.MappingCollectingNameClassPairCallbackHandler<T extends Object>, org.springframework.ldap.core.LdapTemplate.NullDirContextProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<org.springframework.ldap.core.DirContextOperations>
searchForMultipleEntries
(String base, String filter, Object[] params) static Set<org.springframework.ldap.core.DirContextOperations>
searchForMultipleEntriesInternal
(DirContext ctx, SearchControls searchControls, String base, String filter, Object[] params) void
setSearchControls
(SearchControls searchControls) Methods inherited from class org.springframework.ldap.core.LdapTemplate
afterPropertiesSet, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, bind, bind, bind, create, delete, deleteRecursively, executeReadOnly, executeReadWrite, find, find, findAll, findAll, findByDn, findForStream, findOne, getContextSource, getObjectDirectoryMapper, list, list, list, list, list, list, listBindings, listBindings, listBindings, listBindings, listBindings, listBindings, listBindings, listBindings, lookup, lookup, lookup, lookup, lookup, lookup, lookup, lookup, lookup, lookup, lookupContext, lookupContext, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, rebind, rename, rename, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, search, searchForContext, searchForObject, searchForObject, searchForObject, searchForObject, searchForObject, searchForStream, searchForStream, setContextSource, setDefaultCountLimit, setDefaultSearchScope, setDefaultTimeLimit, setIgnoreNameNotFoundException, setIgnorePartialResultException, setIgnoreSizeLimitExceededException, setObjectDirectoryMapper, unbind, unbind, unbind, unbind, update
-
Constructor Details
-
JmixLdapTemplate
public JmixLdapTemplate(org.springframework.ldap.core.ContextSource contextSource)
-
-
Method Details
-
searchForMultipleEntries
-
searchForMultipleEntriesInternal
public static Set<org.springframework.ldap.core.DirContextOperations> searchForMultipleEntriesInternal(DirContext ctx, SearchControls searchControls, String base, String filter, Object[] params) throws NamingException - Throws:
NamingException
-
setSearchControls
-