Class SpnegoAuthenticator
- java.lang.Object
-
- org.keycloak.authentication.AbstractFormAuthenticator
-
- org.keycloak.authentication.authenticators.browser.AbstractUsernameFormAuthenticator
-
- org.keycloak.authentication.authenticators.browser.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 Summary
Fields Modifier and Type Field Description static booleanbypassChallengeJavascriptstatic StringKERBEROS_DISABLED-
Fields inherited from class org.keycloak.authentication.authenticators.browser.AbstractUsernameFormAuthenticator
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION, USER_SET_BEFORE_USERNAME_PASSWORD_AUTH
-
-
Constructor Summary
Constructors Constructor Description SpnegoAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaction(org.keycloak.authentication.AuthenticationFlowContext context)voidauthenticate(org.keycloak.authentication.AuthenticationFlowContext context)voidclose()booleanconfiguredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)protected javax.ws.rs.core.ResponseoptionalChallengeRedirect(org.keycloak.authentication.AuthenticationFlowContext context, String negotiateHeader)401 challenge sent back that bypassesbooleanrequiresUser()voidsetRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)-
Methods inherited from class org.keycloak.authentication.authenticators.browser.AbstractUsernameFormAuthenticator
challenge, challenge, createLoginForm, disabledByBruteForceError, disabledByBruteForceFieldError, dummyHash, enabledUser, getDefaultChallengeMessage, isDisabledByBruteForce, isUserAlreadySetBeforeUsernamePasswordAuth, runDefaultDummyHash, setDuplicateUserChallenge, testInvalidUser, validatePassword, validateUser, validateUserAndPassword
-
-
-
-
Field Detail
-
KERBEROS_DISABLED
public static final String KERBEROS_DISABLED
- See Also:
- Constant Field Values
-
bypassChallengeJavascript
public static boolean bypassChallengeJavascript
-
-
Method Detail
-
requiresUser
public boolean requiresUser()
- Specified by:
requiresUserin interfaceorg.keycloak.authentication.Authenticator
-
action
public void action(org.keycloak.authentication.AuthenticationFlowContext context)
- Specified by:
actionin interfaceorg.keycloak.authentication.Authenticator- Overrides:
actionin classAbstractUsernameFormAuthenticator
-
authenticate
public void authenticate(org.keycloak.authentication.AuthenticationFlowContext context)
- Specified by:
authenticatein interfaceorg.keycloak.authentication.Authenticator
-
optionalChallengeRedirect
protected javax.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:
configuredForin interfaceorg.keycloak.authentication.Authenticator
-
setRequiredActions
public void setRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)- Specified by:
setRequiredActionsin interfaceorg.keycloak.authentication.Authenticator
-
close
public void close()
- Specified by:
closein interfaceorg.keycloak.provider.Provider- Overrides:
closein classAbstractFormAuthenticator
-
-