|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PostConnectProcessor
This interface provides the ability to perform custom processing immediately
after creating an LDAP connection for use in a connection pool. It may be
used, for example, to perform StartTLS negotiation on the connection before
it is made available for use in the pool.
Implementations of this interface must be threadsafe to allow for the
possibility of performing post-connect processing on different connections
at the same time in separate threads.
Method Summary | |
---|---|
void |
processPostAuthenticatedConnection(LDAPConnection connection)
Performs any appropriate processing on the provided connection before making it available for use in a connection pool. |
void |
processPreAuthenticatedConnection(LDAPConnection connection)
Performs any appropriate processing on the provided connection before making it available for use in a connection pool. |
Method Detail |
---|
void processPreAuthenticatedConnection(LDAPConnection connection) throws LDAPException
connection
- The connection for which the processing is to be
performed.
LDAPException
- If a problem occurs during processing. If an
exception is thrown, then the connection will be
terminated and not used in the pool.void processPostAuthenticatedConnection(LDAPConnection connection) throws LDAPException
connection
- The connection for which the processing is to be
performed.
LDAPException
- If a problem occurs during processing. If an
exception is thrown, then the connection will be
terminated and not used in the pool.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |