Package org.keycloak.adapters.undertow
Class KeycloakServletExtension
java.lang.Object
org.keycloak.adapters.undertow.KeycloakServletExtension
- All Implemented Interfaces:
io.undertow.servlet.ServletExtension
public class KeycloakServletExtension
extends Object
implements io.undertow.servlet.ServletExtension
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ServletKeycloakAuthMechcreateAuthenticationMechanism(io.undertow.servlet.api.DeploymentInfo deploymentInfo, AdapterDeploymentContext deploymentContext, UndertowUserSessionManagement userSessionManagement, NodesRegistrationManagement nodesRegistrationManagement) protected StringgetErrorPage(io.undertow.servlet.api.DeploymentInfo deploymentInfo) voidhandleDeployment(io.undertow.servlet.api.DeploymentInfo deploymentInfo, javax.servlet.ServletContext servletContext) booleanisAuthenticationMechanismPresent(io.undertow.servlet.api.DeploymentInfo deploymentInfo, String mechanismName)
-
Field Details
-
log
protected static org.jboss.logging.Logger log
-
-
Constructor Details
-
KeycloakServletExtension
public KeycloakServletExtension() -
KeycloakServletExtension
-
-
Method Details
-
isAuthenticationMechanismPresent
public boolean isAuthenticationMechanismPresent(io.undertow.servlet.api.DeploymentInfo deploymentInfo, String mechanismName) -
handleDeployment
public void handleDeployment(io.undertow.servlet.api.DeploymentInfo deploymentInfo, javax.servlet.ServletContext servletContext) - Specified by:
handleDeploymentin interfaceio.undertow.servlet.ServletExtension
-
createAuthenticationMechanism
protected ServletKeycloakAuthMech createAuthenticationMechanism(io.undertow.servlet.api.DeploymentInfo deploymentInfo, AdapterDeploymentContext deploymentContext, UndertowUserSessionManagement userSessionManagement, NodesRegistrationManagement nodesRegistrationManagement) -
getErrorPage
-