public class DummyHostnameVerifier extends Object implements HostnameVerifier
| Constructor and Description |
|---|
DummyHostnameVerifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(String hostname,
SSLSession session)
Always returning true is not a realy good idea because it will enable any third party to tell us that it is the
server we think that we are talking to even if it is actually not.
|
public boolean verify(String hostname, SSLSession session)
verify in interface HostnameVerifierhostname - session - Copyright © 2017 SAP SE. All Rights Reserved.