Class DefaultLdapQueries
java.lang.Object
com.persequor.saga.modules.ldap.services.DefaultLdapQueries
- All Implemented Interfaces:
ILdapQueries
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.persequor.extension.logging.AuditLogType
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultLdapQueries
(com.persequor.extension.logging.IAuditLogService auditLogService, LdapModuleConfig config) -
Method Summary
-
Field Details
-
LDAP_REQUEST
public static final com.persequor.extension.logging.AuditLogType LDAP_REQUEST
-
-
Constructor Details
-
DefaultLdapQueries
@Inject public DefaultLdapQueries(com.persequor.extension.logging.IAuditLogService auditLogService, LdapModuleConfig config)
-
-
Method Details
-
findUser
public Optional<LdapUser> findUser(LdapConnection connection, String userCredential, String searchBase) throws NamingException Description copied from interface:ILdapQueries
Please note, that it is the responsibility of the implementer to injectIAuditLogService
and log the desired processes. For an example of where this is done:DefaultLdapQueries
.- Specified by:
findUser
in interfaceILdapQueries
- Throws:
NamingException
-