SSLWLSHostnameVerifier.DefaultHostnameVerifier
, SSLWLSWildcardHostnameVerifier
public interface HostnameVerifier
To specify an instance of this interface to be used by the server, set the SSL.HostName Verifier field on the SSL tab under Server Configuration in the Administration Console to the name of a class that implements this interface. The specified class must have a public no-arg constructor.
Modifier and Type | Method | Description |
---|---|---|
boolean |
verify(java.lang.String hostname,
javax.net.ssl.SSLSession session) |
Verify that the host name is an acceptable match
with the server's authentication scheme
|
boolean verify(java.lang.String hostname, javax.net.ssl.SSLSession session)
hostname
- - The hostnamesession
- - SSLSession used on the connection to host