Package org.nuxeo.ecm.platform.ui.web.keycloak
package org.nuxeo.ecm.platform.ui.web.keycloak
-
ClassDescriptionExtends
BearerTokenRequestAuthenticatorto allow overriding methods calling removed deprecated APIs.Authentication plugin for handling auth flow with KeyloackThis class is developed to overcome a Jackson version problem between Nuxeo and Keycloak.
Nuxeo uses Jackson version 1.8.x where Keycloak uses 1.9.x
Sadly theObjectMapper.setSerializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include)method is not in 1.8.x
ThenKeycloakNuxeoDeploymentis the same class asKeycloakDeploymentBuilder, rewriting static methodKeycloakDeploymentBuilder.loadAdapterConfig(java.io.InputStream)to avoid the use ofObjectMapper.setSerializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include)Plugin for the UserMapper to manage mapping between Ketcloack user and Nuxeo counterpartExtendsOAuthRequestAuthenticatorto allow overriding methods calling removed deprecated APIs.ExtendsRefreshableKeycloakSecurityContextto allow overriding methods calling removed deprecated APIs.ExtendsRequestAuthenticatorto allow overriding methods calling removed deprecated APIs.