com.secpod.action
Class ClientAction.MyHostnameVerifier

java.lang.Object
  extended by com.secpod.action.ClientAction.MyHostnameVerifier
All Implemented Interfaces:
javax.net.ssl.HostnameVerifier
Enclosing class:
ClientAction

public static class ClientAction.MyHostnameVerifier
extends java.lang.Object
implements javax.net.ssl.HostnameVerifier

This class is a Host Name Verifier


Constructor Summary
ClientAction.MyHostnameVerifier()
           
 
Method Summary
 boolean verify(java.lang.String hostname, javax.net.ssl.SSLSession session)
          This function should be called for Host Name verification.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientAction.MyHostnameVerifier

public ClientAction.MyHostnameVerifier()
Method Detail

verify

public boolean verify(java.lang.String hostname,
                      javax.net.ssl.SSLSession session)
This function should be called for Host Name verification.

Specified by:
verify in interface javax.net.ssl.HostnameVerifier
Parameters:
hostname - The name of the host
session - The SSL Session
Returns:
boolean