Package de.uplanet.net.ssl
Class AllHostnameVerifier
- java.lang.Object
-
- de.uplanet.net.ssl.AllHostnameVerifier
-
- All Implemented Interfaces:
HostnameVerifier
@Scriptable public final class AllHostnameVerifier extends Object implements HostnameVerifier
This hostname verifier verifies all hostnames.
-
-
Field Summary
Fields Modifier and Type Field Description static AllHostnameVerifier
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verify(String p_strHostname, SSLSession p_session)
This method always returnstrue
.
-
-
-
Field Detail
-
INSTANCE
public static final AllHostnameVerifier INSTANCE
-
-
Method Detail
-
verify
public boolean verify(String p_strHostname, SSLSession p_session)
This method always returnstrue
.- Specified by:
verify
in interfaceHostnameVerifier
- Parameters:
p_strHostname
- The host name.p_session
- The SSLSession used on the connection to host.- Returns:
- Always
true
.
-
-