Package org.keycloak.services.x509
Class HaProxySslClientCertificateLookup
- java.lang.Object
- 
- org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookup
- 
- org.keycloak.services.x509.HaProxySslClientCertificateLookup
 
 
- 
- All Implemented Interfaces:
- Provider,- X509ClientCertificateLookup
 
 public class HaProxySslClientCertificateLookup extends AbstractClientCertificateFromHttpHeadersLookup The provider allows to extract X.509 client certificate forwarded to the keycloak middleware configured behind the haproxy reverse proxy.- Since:
- 3/27/2017
- Version:
- $Revision: 1 $
- Author:
- Peter Nalyvayko
 
- 
- 
Field Summary- 
Fields inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupcertificateChainLength, sslCertChainHttpHeaderPrefix, sslClientCertHttpHeader
 
- 
 - 
Constructor SummaryConstructors Constructor Description HaProxySslClientCertificateLookup(String sslCientCertHttpHeader, String sslCertChainHttpHeaderPrefix, int certificateChainLength)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected X509CertificatedecodeCertificateFromPem(String pem)- 
Methods inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupclose, getCertificateChain, getCertificateFromHttpHeader
 
- 
 
- 
- 
- 
Method Detail- 
decodeCertificateFromPemprotected X509Certificate decodeCertificateFromPem(String pem) throws PemException - Specified by:
- decodeCertificateFromPemin class- AbstractClientCertificateFromHttpHeadersLookup
- Throws:
- PemException
 
 
- 
 
-