|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jsse2.HostnameVerifierIgnore
public class HostnameVerifierIgnore
HostnameVerifier provides a callback mechanism so that implementers of this interface can supply a policy for handling the case where the host to connect to and the server name from the certificate mismatch.
This implementation always allow such connections.
To use:
Constructor Summary | |
---|---|
HostnameVerifierIgnore()
|
Method Summary | |
---|---|
boolean |
verify(String hostname,
SSLSession session)
Always accept the connection even when the host to connect to and the server name from the certificate mismatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HostnameVerifierIgnore()
Method Detail |
---|
public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier
hostname
- the host namesession
- SSLSession used on the connection to host
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |