Class SpnegoAuthenticator

All Implemented Interfaces:
org.keycloak.authentication.Authenticator, org.keycloak.provider.Provider

public class SpnegoAuthenticator extends AbstractUsernameFormAuthenticator implements org.keycloak.authentication.Authenticator
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • bypassChallengeJavascript

      public static boolean bypassChallengeJavascript
  • Constructor Details

    • SpnegoAuthenticator

      public SpnegoAuthenticator()
  • Method Details

    • requiresUser

      public boolean requiresUser()
      Specified by:
      requiresUser in interface org.keycloak.authentication.Authenticator
    • action

      public void action(org.keycloak.authentication.AuthenticationFlowContext context)
      Specified by:
      action in interface org.keycloak.authentication.Authenticator
      Overrides:
      action in class AbstractUsernameFormAuthenticator
    • authenticate

      public void authenticate(org.keycloak.authentication.AuthenticationFlowContext context)
      Specified by:
      authenticate in interface org.keycloak.authentication.Authenticator
    • optionalChallengeRedirect

      protected jakarta.ws.rs.core.Response optionalChallengeRedirect(org.keycloak.authentication.AuthenticationFlowContext context, String negotiateHeader)
      401 challenge sent back that bypasses
      Parameters:
      context -
      negotiateHeader -
      Returns:
    • configuredFor

      public boolean configuredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
      Specified by:
      configuredFor in interface org.keycloak.authentication.Authenticator
    • setRequiredActions

      public void setRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
      Specified by:
      setRequiredActions in interface org.keycloak.authentication.Authenticator
    • close

      public void close()
      Specified by:
      close in interface org.keycloak.provider.Provider
      Overrides:
      close in class AbstractFormAuthenticator