protected String getHttpSessionId(boolean create) { HttpSession session = getSession(create); return session != null ? session.getId() : null; }
protected RequestAuthenticator createRequestAuthenticator(KeycloakDeployment deployment, HttpServerExchange exchange, SecurityContext securityContext, UndertowHttpFacade facade) { int confidentialPort = getConfidentilPort(exchange); AdapterTokenStore tokenStore = getTokenStore(exchange, facade, deployment, securityContext); return new ServletRequestAuthenticator(facade, deployment, confidentialPort, securityContext, exchange, tokenStore); }
@Override protected String changeHttpSessionId(boolean create) { if (!deployment.isTurnOffChangeSessionIdOnLogin()) return ChangeSessionId.changeSessionId(exchange, create); else return getHttpSessionId(create); }
protected RequestAuthenticator createRequestAuthenticator(KeycloakDeployment deployment, HttpServerExchange exchange, SecurityContext securityContext, UndertowHttpFacade facade) { int confidentialPort = getConfidentilPort(exchange); AdapterTokenStore tokenStore = getTokenStore(exchange, facade, deployment, securityContext); return new ServletRequestAuthenticator(facade, deployment, confidentialPort, securityContext, exchange, tokenStore); }
@Override protected String changeHttpSessionId(boolean create) { if (!deployment.isTurnOffChangeSessionIdOnLogin()) return ChangeSessionId.changeSessionId(exchange, create); else return getHttpSessionId(create); }
protected String getHttpSessionId(boolean create) { HttpSession session = getSession(create); return session != null ? session.getId() : null; }