CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.remoting.util
Class DummyHostNameVerifier

java.lang.Object
  extended by com.intland.codebeamer.remoting.util.DummyHostNameVerifier
All Implemented Interfaces:
javax.net.ssl.HostnameVerifier

public class DummyHostNameVerifier
extends java.lang.Object
implements javax.net.ssl.HostnameVerifier

This "dummy" implementation does NOT verifies host names at all and will trust any server. This could be a security issue, but as a workaround it gives a secure connection to any server.

See Also:
DummyTrustManager

Constructor Summary
DummyHostNameVerifier()
           
 
Method Summary
 boolean verify(java.lang.String urlHostName, javax.net.ssl.SSLSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyHostNameVerifier

public DummyHostNameVerifier()
Method Detail

verify

public boolean verify(java.lang.String urlHostName,
                      javax.net.ssl.SSLSession session)
Specified by:
verify in interface javax.net.ssl.HostnameVerifier

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.