Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for LDAP API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.connector.ldapadapter.appconn
Class SSLHostNameVerifier

    java.lang.Object
      com.stc.connector.ldapadapter.appconn.SSLHostNameVerifier

All Implemented Interfaces:
  javax.net.ssl.HostnameVerifier

    public class SSLHostNameVerifier

extends java.lang.Object
implements javax.net.ssl.HostnameVerifier

This class is used to set whether hostname verification has to be done during SSL handshake or not

Version:
  $Revision: 1.2 $
Author:

Constructor Summary
`SSLHostNameVerifier()`

Method Summary
`boolean` | `verify(java.lang.String hostname, javax.net.ssl.SSLSession session)` Method that does verification of the hostname.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SSLHostNameVerifier

    public SSLHostNameVerifier()

Method Detail

### verify

    public boolean verify(java.lang.String hostname,
                          javax.net.ssl.SSLSession session)

  Method that does verification of the hostname. This method actually does not do the host name verification. Always returns true. It is used when the user does not want to do hostname verification. When the user requires hostname verification, the default implementation of Sun JSSE is used which verifies the hostname.

  Specified by:
    `verify` in interface `javax.net.ssl.HostnameVerifier`
  Parameters:
    `hostname` - the name of the host
    `session` - the SSL session object

Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for LDAP API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD