public class SSLWLSWildcardHostnameVerifier extends SSLWLSHostnameVerifier.DefaultHostnameVerifier
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(String urlhostname,
SSLSession session)
Verify peer hostname against peer certificate of the SSL session, allowing
wildcarded certificates.
|
public boolean verify(String urlhostname, SSLSession session)
Verification with Wildcarding
If the peer certificate of the SSL session's peer certificate SubjectDN CommonName attribute supports wildcarding, the CommonName attribute must meet the following:
DNSNames obtained from the peer certificate's SubjectAlternativeNames extension may be wildcarded.
Verification without Wildcarding
If wildcarded hostname verification fails, this method performs non-wildcarded verification
as described for weblogic.security.utils.SSLWLSHostnameVerifier
verify in interface HostnameVerifierverify in class SSLWLSHostnameVerifier.DefaultHostnameVerifierurlhostname - Hostname of the system which is servicing the request.session - SSL session of the current SSL handshakeSSLWLSHostnameVerifier