|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The AMPostAuthProcessInterface interface needs to
be implemented by services and applications to do post
authentication processing.
This interface is invoked by Access Manager Authentication service on a successful authentication , failed authentication or during logout.
This interface has three methods onLoginSuccess,
onLoginFailure and onLogout. The
onLoginSucess will be invoked when authentication
is successful. The onFailure will be invoked on failed
authentication. The onLogout is invoked during a logout.
The post processing class implementation can be configured per ORGANIZATION or SERVICE or ROLE
| Method Summary | |
void |
onLoginFailure(java.util.Map requestParamsMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Post processing on failed authentication. |
void |
onLoginSuccess(java.util.Map requestParamsMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SSOToken ssoToken)
Post processing on successful authentication. |
void |
onLogout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SSOToken ssoToken)
Post processing on Logout. |
| Method Detail |
public void onLoginSuccess(java.util.Map requestParamsMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SSOToken ssoToken)
throws AuthenticationException
requestParamsMap - map containing HttpServletRequest
parametersrequest - HttpServletRequest object.response - HttpServletResponse object.ssoToken - authenticated user's single sign token.AuthenticationException - if there is an error.
public void onLoginFailure(java.util.Map requestParamsMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws AuthenticationException
requestParamsMap - map containing HttpServletRequest
parameters.request - HttpServletRequest object.response - HttpServletResponse object.- Throws:
AuthenticationException - when there is an error.
public void onLogout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SSOToken ssoToken)
throws AuthenticationException
request - HttpServletRequest object.response - HttpServletResponse object.ssoToken - authenticated user's single sign on token.AuthenticationException -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||