Package org.keycloak.services.x509
Class NginxProxySslClientCertificateLookupFactory
java.lang.Object
org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactory
org.keycloak.services.x509.NginxProxySslClientCertificateLookupFactory
- All Implemented Interfaces:
- ProviderFactory<X509ClientCertificateLookup>,- X509ClientCertificateLookupFactory
public class NginxProxySslClientCertificateLookupFactory
extends AbstractClientCertificateFromHttpHeadersLookupFactory
The factory and the corresponding providers extract a client certificate
 from a NGINX reverse proxy (TLS termination).
- Since:
- 10/09/2018
- Version:
- $Revision: 1 $
- Author:
- Arnault MICHEL
- 
Field SummaryFieldsFields inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactoryCERTIFICATE_CHAIN_LENGTH, certificateChainLength, HTTP_HEADER_CERT_CHAIN_PREFIX, HTTP_HEADER_CLIENT_CERT, sslChainHttpHeaderPrefix, sslClientCertHttpHeader
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreate(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.Methods inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactoryclose, postInitMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
- 
Field Details- 
TRUST_PROXY_VERIFICATION- See Also:
 
- 
trustProxyVerificationprotected boolean trustProxyVerification
 
- 
- 
Constructor Details- 
NginxProxySslClientCertificateLookupFactorypublic NginxProxySslClientCertificateLookupFactory()
 
- 
- 
Method Details- 
initDescription copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<X509ClientCertificateLookup>
- Overrides:
- initin class- AbstractClientCertificateFromHttpHeadersLookupFactory
 
- 
create
- 
getId
 
-