@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class ProxyHostnameChecker extends Object implements HostnameChecker
Modifier and Type | Field and Description |
---|---|
static byte |
TYPE_TLS |
Constructor and Description |
---|
ProxyHostnameChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(String hostname,
Principal principal) |
void |
match(String hostname,
X509Certificate peerCertificate) |
public static final byte TYPE_TLS
public void match(String hostname, X509Certificate peerCertificate) throws CertificateException
match
in interface HostnameChecker
CertificateException
public boolean match(String hostname, Principal principal)
match
in interface HostnameChecker
Copyright © 2012–2017. All rights reserved.