public class ScriptBasedAuthenticator extends Object implements Authenticator
Authenticator that can execute a configured script during authentication flow.
scripts must provide
| Constructor and Description |
|---|
ScriptBasedAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AuthenticationFlowContext context) |
void |
authenticate(AuthenticationFlowContext context) |
void |
close() |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
public void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorpublic void action(AuthenticationFlowContext context)
action in interface Authenticatorpublic boolean requiresUser()
requiresUser in interface Authenticatorpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface AuthenticatorCopyright © 2016 JBoss by Red Hat. All rights reserved.