public class DirectAccessGrantsLoginModule extends AbstractKeycloakLoginModule
AbstractKeycloakLoginModule.Auth
Modifier and Type | Field and Description |
---|---|
static String |
SCOPE_OPTION |
auth, callbackHandler, deployment, KEYCLOAK_CONFIG_FILE_OPTION, PROFILE_RESOURCE, ROLE_PRINCIPAL_CLASS_OPTION, rolePrincipalClass, subject
Constructor and Description |
---|
DirectAccessGrantsLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
commit() |
protected AbstractKeycloakLoginModule.Auth |
directGrantAuth(String username,
String password) |
protected AbstractKeycloakLoginModule.Auth |
doAuth(String username,
String password) |
protected org.jboss.logging.Logger |
getLogger() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
logout() |
abort, bearerAuth, createRolePrincipal, login, postTokenVerification, resolveDeployment
public static final String SCOPE_OPTION
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
initialize
in class AbstractKeycloakLoginModule
protected AbstractKeycloakLoginModule.Auth doAuth(String username, String password) throws IOException, VerificationException
doAuth
in class AbstractKeycloakLoginModule
IOException
VerificationException
protected org.jboss.logging.Logger getLogger()
getLogger
in class AbstractKeycloakLoginModule
protected AbstractKeycloakLoginModule.Auth directGrantAuth(String username, String password) throws IOException, VerificationException
IOException
VerificationException
public boolean commit() throws LoginException
commit
in interface LoginModule
commit
in class AbstractKeycloakLoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
logout
in class AbstractKeycloakLoginModule
LoginException
Copyright © 2019 JBoss by Red Hat. All rights reserved.