Allow changing the session id on login in Tomcat adapter
This commit is contained in:
parent
dd3d7be2b4
commit
80873ea4b9
1 changed files with 5 additions and 0 deletions
|
@ -110,4 +110,9 @@ public class KeycloakAuthenticatorValve extends AbstractKeycloakAuthenticatorVal
|
||||||
protected AbstractAuthenticatedActionsValve createAuthenticatedActionsValve(AdapterDeploymentContext deploymentContext, Valve next, Container container) {
|
protected AbstractAuthenticatedActionsValve createAuthenticatedActionsValve(AdapterDeploymentContext deploymentContext, Valve next, Container container) {
|
||||||
return new AuthenticatedActionsValve(deploymentContext, next, 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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue