public class RADIUS extends AMLoginModule
amCache, auditor, currentState
Constructor and Description |
---|
RADIUS() |
Modifier and Type | Method and Description |
---|---|
void |
destroyModuleState()
Destroy the module state.
|
Principal |
getPrincipal()
Returns
java.security.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. |
protected void |
readAttributesFromResponsePacket(Packet response)
Extension point to handle additional response attributes
|
void |
shutdown()
Shutdown the RADIUS connection.
|
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 statestate
- order of state. State order starts with 1.AuthLoginException
- if the user fails authentication or some anomalous condition occursprotected void readAttributesFromResponsePacket(Packet response) throws AuthLoginException
response
- the RADIUS authentication response packetAuthLoginException
- exception thrown if login has to fail based on additional attributespublic Principal getPrincipal()
java.security.Principal
.getPrincipal
in class AMLoginModule
java.security.Principal
public void destroyModuleState()
destroyModuleState
in class AMLoginModule
public void nullifyUsedVars()
nullifyUsedVars
in class AMLoginModule
public void shutdown()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.