public class Membership extends AMLoginModule
amCache, auditor, currentState
Constructor and Description |
---|
Membership() |
Modifier and Type | Method and Description |
---|---|
void |
destroyModuleState()
Destroy the module state
|
Principal |
getPrincipal()
Returns
Principal . |
void |
init(Subject subject,
Map sharedState,
Map options)
Initializes this
LoginModule . |
void |
nullifyUsedVars()
Set all the used variables to null
|
int |
process(Callback[] callbacks,
int state)
Takes an array of submitted
Callback ,
process them and decide the order of next state to go. |
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, 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)
LoginModule
.init
in class AMLoginModule
subject
- the Subject
to be authenticated.sharedState
- shared LoginModule
state.options
- options specified in the login.
Configuration
for this particular
LoginModule
.public int process(Callback[] callbacks, int state) throws AuthLoginException
Callback
,
process them and decide the order of next state to go.
Return STATE_SUCCEED if the login is successful, return STATE_FAILED
if the LoginModule should be ignored.process
in class AMLoginModule
callbacks
- an array of Callback for this Login state
state
- order of state. State order starts with 1.AuthLoginException
public Principal getPrincipal()
Principal
.getPrincipal
in class AMLoginModule
Principal
public void destroyModuleState()
destroyModuleState
in class AMLoginModule
public void nullifyUsedVars()
nullifyUsedVars
in class AMLoginModule
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.