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, resolveDeploymentpublic static final String SCOPE_OPTION
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class AbstractKeycloakLoginModuleprotected AbstractKeycloakLoginModule.Auth doAuth(String username, String password) throws IOException, VerificationException
doAuth in class AbstractKeycloakLoginModuleIOExceptionVerificationExceptionprotected org.jboss.logging.Logger getLogger()
getLogger in class AbstractKeycloakLoginModuleprotected AbstractKeycloakLoginModule.Auth directGrantAuth(String username, String password) throws IOException, VerificationException
IOExceptionVerificationExceptionpublic boolean commit()
throws LoginException
commit in interface LoginModulecommit in class AbstractKeycloakLoginModuleLoginExceptionpublic boolean logout()
throws LoginException
logout in interface LoginModulelogout in class AbstractKeycloakLoginModuleLoginExceptionCopyright © 2025 JBoss by Red Hat. All rights reserved.