public interface LDAPProvider
Modifier and Type | Method and Description |
---|---|
LDAPMessageFactory |
getMessageFactory()
Returns an LDAP message factory implementation to be used to create LDAP objects.
|
LDAPRequestActivity |
sendRequest(LDAPRequest request)
Creates a new LDAP request activity in the SLEE and performs the LDAP operation specified
by the given request.
|
LDAPMessageFactory getMessageFactory()
LDAPMessageFactory
LDAPRequestActivity sendRequest(LDAPRequest request) throws LDAPConnectionException, LDAPException
Note: In order to send an LDAPBindRequest
(the LDAP "bind queries" feature)
to test the validity of passed credentials binding to the directory, the
bind connection pool must be enabled using the resource adaptor configuration properties
BindMinConnections
and BindMaxConnections
. Otherwise an LDAPConnectionException will
be thrown.
request
- the request to be used for the LDAP operation. It must not be null.LDAPConnectionException
- when the LDAP client cannot connect with the LDAP server.LDAPException
- if failed to complete the specified LDAP operation.LDAPRequestActivity
,
LDAPResultEvent