Package net.sf.basedb.util.ssl
Class AllowAnyHostNameVerifyer
- java.lang.Object
-
- net.sf.basedb.util.ssl.AllowAnyHostNameVerifyer
-
- All Implemented Interfaces:
HostnameVerifier
public class AllowAnyHostNameVerifyer extends Object implements HostnameVerifier
A simple implementation of a host name verifyer that allows all hosts. We use it to make sure that a server certificate that has been registered with aFileServer
always work even if the server has a different name than what is in the certificate.- Since:
- 2.16
- Author:
- Nicklas
- Last modified
- $Date: 2015-05-12 13:40:29 +0200 (ti, 12 maj 2015) $
-
-
Constructor Summary
Constructors Constructor Description AllowAnyHostNameVerifyer()
-
-
-
Method Detail
-
verify
public boolean verify(String hostname, SSLSession session)
- Specified by:
verify
in interfaceHostnameVerifier
-
-