Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## BEA WebLogic Server 9.0 API Reference

## weblogic.security.SSL
Interface HostnameVerifier

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.

  Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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

### verify

    public boolean verify(String hostname,
                          SSLSession session)

  Verify that the host name is an acceptable match with the server's authentication scheme

  Parameters:
    `hostname` - - The hostname
    `session` - - SSLSession used on the connection to host
  Returns:
    true if the hostname is acceptable

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD