|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HostnameVerifier
HostnameVerifier provides a callback mechanism so that implementers of this interface can supply a policy on whether the connection to the URL's hostname should be allowed. The policy can be certificate-based or may depend on other authentication schemes.
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.
Method Summary | |
---|---|
boolean |
verify(String hostname,
SSLSession session)
Verify that the host name is an acceptable match with the server's authentication scheme |
Method Detail |
---|
boolean verify(String hostname, SSLSession session)
hostname
- - The hostnamesession
- - SSLSession used on the connection to host
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, 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. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |