|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.util.ssl.SSLSocketVerifier
@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class SSLSocketVerifier
This class defines an API that will be invoked immediately after establishing
a connection using SSLSocket
(whether by establishing a connection
that is initially secure or by wrapping an existing insecure connection in an
SSLSocket
). It may be used to terminate the connection if it is
determined that the connection should not be trusted for some reason.
Constructor Summary | |
---|---|
SSLSocketVerifier()
|
Method Summary | |
---|---|
abstract void |
verifySSLSocket(java.lang.String host,
int port,
javax.net.ssl.SSLSocket sslSocket)
Verifies that the provided SSLSocket is acceptable and the
connection should be allowed to remain established. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLSocketVerifier()
Method Detail |
---|
public abstract void verifySSLSocket(java.lang.String host, int port, javax.net.ssl.SSLSocket sslSocket) throws LDAPException
SSLSocket
is acceptable and the
connection should be allowed to remain established.
host
- The address to which the client intended the
connection to be established.port
- The port to which the client intended the
connection to be established.sslSocket
- The SSLSocket
that was created and should
be verified.
LDAPException
- If a problem is identified that should prevent the
provided SSLSocket
from remaining
established.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |