Class LdapConnection
java.lang.Object
com.persequor.saga.modules.ldap.services.LdapConnection
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionLdapConnection
(DirContext ldapContext, com.persequor.extension.logging.IAuditLogService auditLogService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
search
(SearchScope scope, Consumer<QueryBuilder> queryBuilderConsumer)
-
Constructor Details
-
LdapConnection
public LdapConnection(DirContext ldapContext, com.persequor.extension.logging.IAuditLogService auditLogService)
-
-
Method Details
-
search
public List<SearchResult> search(SearchScope scope, Consumer<QueryBuilder> queryBuilderConsumer) throws NamingException - Throws:
NamingException
-
getDefaultNamingContext
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
NamingException
-