public abstract class AbstractClientCertificateFromHttpHeadersLookup extends Object implements X509ClientCertificateLookup
| Modifier and Type | Field and Description |
|---|---|
protected int |
certificateChainLength |
protected static org.jboss.logging.Logger |
logger |
protected String |
sslCertChainHttpHeaderPrefix |
protected String |
sslClientCertHttpHeader |
| Constructor and Description |
|---|
AbstractClientCertificateFromHttpHeadersLookup(String sslCientCertHttpHeader,
String sslCertChainHttpHeaderPrefix,
int certificateChainLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract X509Certificate |
decodeCertificateFromPem(String pem) |
X509Certificate[] |
getCertificateChain(org.jboss.resteasy.spi.HttpRequest httpRequest)
Returns a client certificate, and optionally any certificates
in the certificate chain.
|
protected X509Certificate |
getCertificateFromHttpHeader(org.jboss.resteasy.spi.HttpRequest request,
String httpHeader) |
protected static final org.jboss.logging.Logger logger
protected final String sslClientCertHttpHeader
protected final String sslCertChainHttpHeaderPrefix
protected final int certificateChainLength
protected abstract X509Certificate decodeCertificateFromPem(String pem) throws PemException
PemExceptionprotected X509Certificate getCertificateFromHttpHeader(org.jboss.resteasy.spi.HttpRequest request, String httpHeader) throws GeneralSecurityException
GeneralSecurityExceptionpublic X509Certificate[] getCertificateChain(org.jboss.resteasy.spi.HttpRequest httpRequest) throws GeneralSecurityException
X509ClientCertificateLookupgetCertificateChain in interface X509ClientCertificateLookupGeneralSecurityExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.