public class MSISDN extends AMLoginModule
msisdn
number and the Wireless gateway sending the request from the
ServletRequest
. If the values cannot be retrieved then
callbacks to get msisdn
number and wap gateway are sent back to
the client. The WAP Gateway is validated against a list of valid gateways in
the gateway list attribute. If the gateway list attribute is empty then all
gateways will trusted , if it is "none" then no gateways will be trusted and
if specific values are specified only those gateways will be trusted. Once
the gateway is validated the msisdn
number is searched for in
the repository. This module is written to lookup the msisdn
number in LDAP and return the user ID which has the msisdn
number.amCache, auditor, currentState
Constructor and Description |
---|
MSISDN() |
Modifier and Type | Method and Description |
---|---|
void |
destroyModuleState()
Cleans up module state.
|
Principal |
getPrincipal()
Returns the User Principal.
|
void |
init(Subject subject,
Map sharedState,
Map options)
Retrieves the service schema attributes for the module
and initializes the configuration, including locale and getting
the resource bundle.
|
void |
nullifyUsedVars()
TODO-JAVADOC
|
int |
process(Callback[] callbacks,
int state)
Validates the authentication credentials.
|
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)
init
in class AMLoginModule
subject
- Subject to be authenticated.sharedState
- State shared with other configured
LoginModules
.options
- Options specified in the login Configuration for this
particular LoginModule
.public int process(Callback[] callbacks, int state) throws AuthLoginException
process
in class AMLoginModule
callbacks
- state
- AuthLoginException
public Principal getPrincipal()
getPrincipal
in class AMLoginModule
public void destroyModuleState()
destroyModuleState
in class AMLoginModule
public void nullifyUsedVars()
nullifyUsedVars
in class AMLoginModule
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.