Package com.logicaldoc.util.security
Class EasyHostnameVerifier
- java.lang.Object
-
- com.logicaldoc.util.security.EasyHostnameVerifier
-
- All Implemented Interfaces:
HostnameVerifier
public class EasyHostnameVerifier extends Object implements HostnameVerifier
A dummy verifier that accepts all the certificates, unless the environment variableldoc.ssl.validate = true
- Since:
- 8.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description EasyHostnameVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verify(String hostname, SSLSession sslSession)
-
-
-
Method Detail
-
verify
public boolean verify(String hostname, SSLSession sslSession)
- Specified by:
verify
in interfaceHostnameVerifier
-
-