public interface AMPostAuthProcessInterface
AMPostAuthProcessInterface
interface needs to
be implemented by services and applications to do post
authentication processing.
This interface is invoked by the OpenAM Authentication service on a successful authentication, failed authentication or during logout.
This interface has three methods onLoginSuccess
,
onLoginFailure
and onLogout
. The
onLoginSuccess
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
Modifier and Type | Method and Description |
---|---|
void |
onLoginFailure(Map requestParamsMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Post processing on failed authentication.
|
void |
onLoginSuccess(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.
|
void onLoginSuccess(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.void onLoginFailure(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.AuthenticationException
- when there is an error.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
- when there is an error.Copyright © 2010-2018, ForgeRock All Rights Reserved.