|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.net.ssl.AbstractHostnameVerifier
org.openmdx.base.net.ssl.LenientHostnameVerifier
public class LenientHostnameVerifier
Lenient Hostname Verifier
Accepts for example a certificate with the common name "*.openmdx.org" to access "any.level.of.sub-domains.openmdx.org".
| Constructor Summary | |
|---|---|
protected |
LenientHostnameVerifier()
Constructor |
| Method Summary | |
|---|---|
static HostnameVerifier |
getInstance()
Return an instance of WildcardCertificateAwareHostnameVerifier |
protected boolean |
matches(String hostName,
String commonName)
Tests whether the host name matches a given wildcard common name |
| Methods inherited from class org.openmdx.base.net.ssl.AbstractHostnameVerifier |
|---|
getCommonName, verify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected LenientHostnameVerifier()
| Method Detail |
|---|
public static HostnameVerifier getInstance()
protected boolean matches(String hostName,
String commonName)
AbstractHostnameVerifierThis method is usually overridden by a subclass as JSSE does not call the HostnameVerifier interceptor if the given expression evaluates to true.
matches in class AbstractHostnameVerifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||