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 Summary
Fields inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactory
CERTIFICATE_CHAIN_LENGTH, certificateChainLength, HTTP_HEADER_CERT_CHAIN_PREFIX, HTTP_HEADER_CLIENT_CERT, sslChainHttpHeaderPrefix, sslClientCertHttpHeader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session) getId()
void
init
(Config.Scope config) Only called once when the factory is first created.Methods inherited from class org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactory
close, postInit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Field Details
-
TRUST_PROXY_VERIFICATION
- See Also:
-
trustProxyVerification
protected boolean trustProxyVerification
-
-
Constructor Details
-
NginxProxySslClientCertificateLookupFactory
public NginxProxySslClientCertificateLookupFactory()
-
-
Method Details
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<X509ClientCertificateLookup>
- Overrides:
init
in classAbstractClientCertificateFromHttpHeadersLookupFactory
-
create
-
getId
-