org.forgerock.maven.plugins.utils
Class TrustAllHostnameVerifier
java.lang.Object
org.forgerock.maven.plugins.utils.TrustAllHostnameVerifier
- All Implemented Interfaces:
- HostnameVerifier
public class TrustAllHostnameVerifier
- extends Object
- implements HostnameVerifier
A simple hostname verifier that always succeeds to verify the hostname during SSL handshake.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustAllHostnameVerifier
public TrustAllHostnameVerifier()
verify
public boolean verify(String hostname,
SSLSession sslSession)
- Specified by:
verify in interface HostnameVerifier
Copyright © 2015. All rights reserved.