nbi.xmlsec
Class PermitAllHostNameVerifier
java.lang.Object
nbi.xmlsec.PermitAllHostNameVerifier
- All Implemented Interfaces:
- HostnameVerifier
- public class PermitAllHostNameVerifier
- extends Object
- implements HostnameVerifier
Implements the HostNameVerifier
interface to permit connections to all hosts.
I.e., the verify(String, SSLSession)
method always returns true
.
- Since:
- Version:
- $Revision: 1.2 $
- Author:
- Lutz Suhrbier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermitAllHostNameVerifier
public PermitAllHostNameVerifier()
- Default constructor
verify
public boolean verify(String arg0,
SSLSession arg1)
- Permits all hosts.
- Specified by:
verify
in interface HostnameVerifier
- Parameters:
arg0
- Not inspectedarg1
- Not inspected
- Returns:
- Always returns
true
. - See Also:
HostnameVerifier.verify(java.lang.String, javax.net.ssl.SSLSession)
Copyright © 2006 Lutz Suhrbier, Freie Universität Berlin. All Rights Reserved.