|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.webclient.logon.LogonMediator
Mediates the operations that need to performed when a user signs on to the system.
Field Summary | |
static java.lang.String |
ACCOUNT_PAGE
For redirection to the account management page |
static java.lang.String |
CHANGE_PASSWD_PAGE
For redirection to the password management page |
static java.lang.String |
COMPLETED_PAGE
For redirection to the completed requests page |
static java.lang.String |
DELEGATE_PAGE
For redirection to the delegate management page |
static java.lang.String |
PENDING_PAGE
For redirection to the pending requests page |
static java.lang.String |
SUBJECT
|
static java.lang.String |
TODO_PAGE
For redirection to the to do list page |
Fields inherited from interface com.ibm.itim.webclient.challengeresponse.ChallengeResponseConstants |
ACTION, ADD_REQUIRED_CHALLENGES, C_SUFFIX, CANCEL, CHALLENGE_AND_RESPONSE, CHALLENGE_MODE, CHALLENGE_PICK_LIST, CHALLENGE_RESPONSE_L, CHALLENGES, DEFINE_ATLEAST_ONE_CHALLENGE_TO_RESPOND, ENFORCE_CHALLENGE_RESPONSE_L, FROM_ENFORCE, FROM_PICK_LIST, HIDDEN_CONSTANT, INVALID_RESPONSES, IS_CANCEL_REQUIRED, IS_CHALLENGE_RESPONSE_ENABLED, IS_FORCE_PSWD_CHANGE, IS_HASHING_ENABLED, IS_RESPONSE_VALID, MESSAGE_ID, MULTIPLE_DATA_MOVE, NUM_USER_MUST_ANSWER, QUESTION_ANSWERS, QUESTION_CONFIRM, R_SUFFIX, SELECT_REQUIRED_CHALLENGES, USER_CHALLENGES, USER_CHALLENGES_AND_RESPONSES, USER_DEFINITION_MODE, YES |
Constructor Summary | |
LogonMediator(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Creates a new LogonMediator object |
Method Summary | |
void |
logon(Credentials credentials)
Get information about the user, establish a http session, and forward the user to default home page. |
void |
signIn(Credentials credentials)
Deprecated. Use LogonMediator.logon(Credentials credentials) instead. |
void |
signIn(Credentials credentials,
java.lang.String startPage)
Deprecated. Use LogonMediator.logon(Credentials credentials) instead. |
void |
signIn(java.lang.String userID,
java.lang.String startPage)
Deprecated. Use LogonMediator.logon(Credentials credentials) instead. |
void |
signIn(java.lang.String userID,
java.lang.String tenantID,
java.lang.String startPage)
Deprecated. Use LogonMediator.logon(Credentials credentials) instead. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CHANGE_PASSWD_PAGE
public static final java.lang.String ACCOUNT_PAGE
public static final java.lang.String TODO_PAGE
public static final java.lang.String PENDING_PAGE
public static final java.lang.String COMPLETED_PAGE
public static final java.lang.String DELEGATE_PAGE
public static final java.lang.String SUBJECT
Constructor Detail |
public LogonMediator(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
Method Detail |
public void signIn(Credentials credentials) throws LogonException, java.rmi.RemoteException, AuthenticationException
credentials
- The enRole user's Credentials. These credentials will be passed to the configured
Authenticator, so all required corresponding
authenticator's credentials must be supplied.public void signIn(Credentials credentials, java.lang.String startPage) throws LogonException, java.rmi.RemoteException, AuthenticationException
credentials
- The enRole user's Credentials. The credentials will be
passed to the configured Authenticator, so all required
corresponding authenticator's credentials must be supplied.startPage
- The first page the user sees in the enRole system.
Possible values for the start page
are CHANGE_PWD_PAGE, ACCOUNT_PAGE, TODO_PAGE,
PENDING_PAGE, COMPLETED_PAGE, DELEGATE_PAGE, or NULL.public void signIn(java.lang.String userID, java.lang.String startPage) throws LogonException, java.rmi.RemoteException, AuthenticationException
userID
- The user idstartPage
- The first page the user sees in the enRole system.
Possible values for the start page
are CHANGE_PWD_PAGE, ACCOUNT_PAGE, TODO_PAGE,
PENDING_PAGE, COMPLETED_PAGE, DELEGATE_PAGE, or NULL.public void signIn(java.lang.String userID, java.lang.String tenantID, java.lang.String startPage) throws LogonException, java.rmi.RemoteException, AuthenticationException
userID
- The user idtenantID
- The tenant that the user belongs in the enRole system.startPage
- The first page the user sees in the enRole system.
Possible values for the start page
are CHANGE_PWD_PAGE, ACCOUNT_PAGE, TODO_PAGE,
PENDING_PAGE, COMPLETED_PAGE, DELEGATE_PAGE, or NULL.public void logon(Credentials credentials) throws LogonException, java.rmi.RemoteException, AuthenticationException
credentials
- The enRole user's Credentials. Authenticator's credentials must be supplied.
Note: Custom Authetication is not allowed using this API.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |