@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class SSLSocketVerifier extends java.lang.Object
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 and Description|
|Modifier and Type||Method and Description|
Verifies that the provided
public abstract void verifySSLSocket(@NotNull java.lang.String host, int port, @NotNull javax.net.ssl.SSLSocket sslSocket) throws LDAPException
SSLSocketis 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.
SSLSocketthat was created and should be verified.
LDAPException- If a problem is identified that should prevent the provided
SSLSocketfrom remaining established.