Allow changing the session id on login in Tomcat adapter

This commit is contained in:
ammannmi 2022-01-05 12:23:46 +01:00 committed by GitHub
parent dd3d7be2b4
commit 80873ea4b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,4 +110,9 @@ public class KeycloakAuthenticatorValve extends AbstractKeycloakAuthenticatorVal
protected AbstractAuthenticatedActionsValve createAuthenticatedActionsValve(AdapterDeploymentContext deploymentContext, Valve next, Container container) {
return new AuthenticatedActionsValve(deploymentContext, next, container);
}
@Override
protected CatalinaRequestAuthenticator createRequestAuthenticator(Request request, CatalinaHttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore) {
return new TomcatRequestAuthenticator(deployment, tokenStore, facade, request, createPrincipalFactory());
}
}