public class HostnameVerifierAllowingAll extends Object implements HostnameVerifier
HostnameVerifier
implementation allowing all host names.
We use a separate trust-store for every destination host + port. Additionally, we use self-signed certificates having the same common name for all servers. The user must verify himself and then explicitely accept every server certificate. Thus we do not to verify any host name and use this class allowing them all without any check.
Constructor and Description |
---|
HostnameVerifierAllowingAll() |
public HostnameVerifierAllowingAll()
public boolean verify(String name, SSLSession session)
verify
in interface HostnameVerifier
Copyright © 2013-2014. All Rights Reserved.