|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HostnameVerifier
public interface HostnameVerifierJSSE
HostnameVerifierJSSE provides a callback mechanism so that implementers of this interface can supply a policy for handling the case where the host that's being connected to and the server name from the certificate SubjectDN must match.
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.
Classes implementing this interface must have a public no-arg constructor.
The default implementation of this class in the WebLogic Server will do only a String.equals() comparison of the urlHostname to the certHostname.
Method Summary | |
---|---|
boolean |
verify(String urlHostname,
String certHostname)
Deprecated. Verify that the hostname from the URL is an acceptable match with the value from the common name entry in the server certificate's distinguished name. |
Method Detail |
---|
boolean verify(String urlHostname, String certHostname)
urlHostname
- The hostname of the server machine the url points to.certHostname
- The common name entry from the certificate.
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |