HostnameVerifier
public class SSLWLSWildcardHostnameVerifier extends SSLWLSHostnameVerifier.DefaultHostnameVerifier
Modifier and Type | Method | Description |
---|---|---|
boolean |
verify(java.lang.String urlhostname,
javax.net.ssl.SSLSession session) |
Verify peer hostname against peer certificate of the SSL session, allowing
wildcarded certificates.
|
public boolean verify(java.lang.String urlhostname, javax.net.ssl.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 HostnameVerifier
verify
in class SSLWLSHostnameVerifier.DefaultHostnameVerifier
urlhostname
- Hostname of the system which is servicing the request.session
- SSL session of the current SSL handshakeSSLWLSHostnameVerifier