public class SpnegoAuthenticator extends AbstractUsernameFormAuthenticator implements Authenticator
| Modifier and Type | Field and Description |
|---|---|
static boolean |
bypassChallengeJavascript |
static String |
KERBEROS_DISABLED |
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION| Constructor and Description |
|---|
SpnegoAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AuthenticationFlowContext context) |
void |
authenticate(AuthenticationFlowContext context) |
void |
close() |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
protected javax.ws.rs.core.Response |
optionalChallengeRedirect(AuthenticationFlowContext context,
String negotiateHeader)
401 challenge sent back that bypasses
|
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
disabledUser, enabledUser, invalidCredentials, invalidUser, invalidUser, setDuplicateUserChallenge, temporarilyDisabledUser, validatePassword, validateUserAndPasswordpublic static final String KERBEROS_DISABLED
public static boolean bypassChallengeJavascript
public boolean requiresUser()
requiresUser in interface Authenticatorpublic void action(AuthenticationFlowContext context)
action in interface Authenticatoraction in class AbstractUsernameFormAuthenticatorpublic void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorprotected javax.ws.rs.core.Response optionalChallengeRedirect(AuthenticationFlowContext context, String negotiateHeader)
context - negotiateHeader - public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface Authenticatorpublic void close()
close in interface Providerclose in class AbstractFormAuthenticatorCopyright © 2017 JBoss by Red Hat. All rights reserved.