org.eaglei.model.webapp.server.email
Class SSLUtilities._FakeHostnameVerifier

java.lang.Object
  extended by org.eaglei.model.webapp.server.email.SSLUtilities._FakeHostnameVerifier
All Implemented Interfaces:
com.sun.net.ssl.HostnameVerifier
Enclosing class:
SSLUtilities

Deprecated. see SSLUtilities.FakeHostnameVerifier.

@Deprecated
public static class SSLUtilities._FakeHostnameVerifier
extends java.lang.Object
implements com.sun.net.ssl.HostnameVerifier

This class implements a fake hostname verificator, trusting any host name. This class uses the old deprecated API from the com.sun. ssl package.

Author:
Francis Labrie

Constructor Summary
SSLUtilities._FakeHostnameVerifier()
          Deprecated.  
 
Method Summary
 boolean verify(java.lang.String hostname, java.lang.String session)
          Deprecated. Always return true, indicating that the host name is an acceptable match with the server's authentication scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLUtilities._FakeHostnameVerifier

public SSLUtilities._FakeHostnameVerifier()
Deprecated. 
Method Detail

verify

public boolean verify(java.lang.String hostname,
                      java.lang.String session)
Deprecated. 
Always return true, indicating that the host name is an acceptable match with the server's authentication scheme.

Specified by:
verify in interface com.sun.net.ssl.HostnameVerifier
Parameters:
hostname - the host name.
session - the SSL session used on the connection to host.
Returns:
the true boolean value indicating the host name is trusted.


Copyright © 2009-2010 Eagle-I. All Rights Reserved.