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 Details

    • log

      protected static org.jboss.logging.Logger log
  • Constructor Details

    • KeycloakServletExtension

      public KeycloakServletExtension()
    • KeycloakServletExtension

      public KeycloakServletExtension(AdapterDeploymentContext deploymentContext)
  • 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:
      handleDeployment in interface io.undertow.servlet.ServletExtension
    • createAuthenticationMechanism

      protected ServletKeycloakAuthMech createAuthenticationMechanism(io.undertow.servlet.api.DeploymentInfo deploymentInfo, AdapterDeploymentContext deploymentContext, UndertowUserSessionManagement userSessionManagement, NodesRegistrationManagement nodesRegistrationManagement)
    • getErrorPage

      protected String getErrorPage(io.undertow.servlet.api.DeploymentInfo deploymentInfo)