public class JDBC extends AMLoginModule
amCache, auditor, currentState
Constructor and Description |
---|
JDBC()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroyModuleState()
Cleans up the login state.
|
Principal |
getPrincipal()
Returns principal of the authenticated user.
|
void |
init(Subject subject,
Map sharedState,
Map options)
Initializes parameters.
|
void |
nullifyUserdVars() |
int |
process(Callback[] callbacks,
int state)
Processes the authentication request.
|
abort, clearInfoText, commit, createIdentity, forceCallbacksInit, getAMIdentityRepository, getAttribute, getAuditEntryDetail, getAuthenticatedPrincipals, getAuthLevel, getCallback, getCallback, getCallbackHandler, getCurrentState, getFailCount, getHttpServletRequest, getHttpServletResponse, getInfoText, getLocale, getLoginLocale, getLoginState, getMaximumFailCount, getNewUserIDs, getNumberOfStates, getOrgProfile, getOrgServiceTemplate, getPwdKey, getRequestOrg, getServiceConfig, getSessionId, getSSOSession, getUserAliasList, getUserKey, getUserProfile, getUserSessionProperty, getUserSessions, incrementFailCount, initialize, isAccountLocked, isDynamicProfileCreationEnabled, isRequired, isSessionQuotaReached, isSharedStateEnabled, isSuperAdmin, isUseFirstPassEnabled, isValidUserEntry, login, logout, nullifyUsedVars, replaceCallback, replaceHeader, resetCallback, resetCurrentState, setAuthLevel, setFailureID, setForceCallbacksRead, setLoginFailureURL, setLoginSuccessURL, setModuleErrorTemplate, setOrg, setSharedStateEnabled, setUserAttributes, setUserSessionProperty, storeUsername, storeUsernamePasswd, substituteHeader, substituteInfoText, validatePassword, validateUserName
public void init(Subject subject, Map sharedState, Map options)
init
in class AMLoginModule
subject
- sharedState
- options
- public int process(Callback[] callbacks, int state) throws AuthLoginException
process
in class AMLoginModule
callbacks
- Callback[] for this Login statestate
- Order of state. State order starts with 1.ISAuthConstants.LOGIN_SUCCEED
as succeeded;
ISAuthConstants.LOGIN_IGNORE
as failed.AuthLoginException
- upon any failure. login state should be
kept on exceptions for status check in auth chaining.public Principal getPrincipal()
getPrincipal
in class AMLoginModule
public void destroyModuleState()
destroyModuleState
in class AMLoginModule
public void nullifyUserdVars()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.