public class DummyHostnameVerifier
extends java.lang.Object
implements javax.net.ssl.HostnameVerifier
| Constructor and Description |
|---|
DummyHostnameVerifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(java.lang.String hostname,
javax.net.ssl.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(java.lang.String hostname,
javax.net.ssl.SSLSession session)
verify in interface javax.net.ssl.HostnameVerifierhostname - session - Copyright © 2018 SAP SE. All Rights Reserved.