Class KeycloakAuthenticatorProvider
java.lang.Object
org.nuxeo.ecm.platform.ui.web.keycloak.KeycloakAuthenticatorProvider
- Since:
- 7.4
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected final org.keycloak.adapters.AdapterDeploymentContext
protected static final String
protected static final String
protected static final String
protected static final com.fasterxml.jackson.databind.ObjectMapper
protected final org.keycloak.adapters.NodesRegistrationManagement
protected static final String
protected org.keycloak.adapters.KeycloakDeployment
protected static final String
protected static final String
protected static final String
-
Constructor Summary
ConstructorDescriptionKeycloakAuthenticatorProvider
(org.keycloak.adapters.AdapterDeploymentContext deploymentContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.impl.client.CloseableHttpClient
protected void
configureProxy
(org.apache.http.impl.client.HttpClientBuilder builder) protected String
protected String
getLogoutUri
(org.apache.catalina.connector.Request request) org.keycloak.adapters.KeycloakDeployment
logout
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) protected org.keycloak.common.util.KeycloakUriBuilder
logoutQueryParam
(org.keycloak.common.util.KeycloakUriBuilder builder, String redirectTo, String idTokenHint) provide
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
-
Field Details
-
CLIENT_ID_PARAM
- See Also:
-
CLIENT_SECRET_PARAM
- See Also:
-
ID_TOKEN_HINT_PARAM
- See Also:
-
GRANT_TYPE_CLIENT_CREDENTIALS
- See Also:
-
GRANT_TYPE_PARAM
- See Also:
-
RESOURCE_SECRET_KEY
- See Also:
-
POST_LOGOUT_REDIRECT_URI_PARAM
- See Also:
-
SCOPE_PARAM
- See Also:
-
TOKEN_SCOPE_OPENID
- See Also:
-
mapper
protected static final com.fasterxml.jackson.databind.ObjectMapper mapper -
nodesRegistrationManagement
protected final org.keycloak.adapters.NodesRegistrationManagement nodesRegistrationManagement -
deploymentContext
protected final org.keycloak.adapters.AdapterDeploymentContext deploymentContext -
resolvedDeployment
protected org.keycloak.adapters.KeycloakDeployment resolvedDeployment
-
-
Constructor Details
-
KeycloakAuthenticatorProvider
public KeycloakAuthenticatorProvider(org.keycloak.adapters.AdapterDeploymentContext deploymentContext)
-
-
Method Details
-
provide
public KeycloakRequestAuthenticator provide(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) -
logout
public String logout(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) -
getResolvedDeployment
public org.keycloak.adapters.KeycloakDeployment getResolvedDeployment() -
logoutQueryParam
-
getLogoutUri
-
getIdTokenHint
-
buildHttpClient
protected org.apache.http.impl.client.CloseableHttpClient buildHttpClient() -
configureProxy
protected void configureProxy(org.apache.http.impl.client.HttpClientBuilder builder)
-