|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.boot.transport.HostnameVerifierImpl
This class checks if the common name contained in a server certificate
is appropriate for the desired https server.
It can be attached to an HttpsUrlConnection by calling
HttpsURLConnection.setHostnameVerifier(javax.net.ssl.HostnameVerifier)
Then it will be called by the JDK1.4 JSSE HTTPS implementation if the
name contained in the certificate does not exactly match the hostname part of the url.
| Constructor Summary | |
HostnameVerifierImpl(java.util.Properties props)
Constructs the hostname verifier. |
|
| Method Summary | |
boolean |
verify(java.lang.String hostname,
javax.net.ssl.SSLSession session)
Checks if the given hostname accepted. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HostnameVerifierImpl(java.util.Properties props)
props - the Properties object containting the mentioned property.| Method Detail |
public boolean verify(java.lang.String hostname,
javax.net.ssl.SSLSession session)
verify in interface javax.net.ssl.HostnameVerifierhostname - DNS-name or IP-address of the SSL-serversession - ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||