Class WSSReplayPasswd
- java.lang.Object
-
- com.sun.identity.authentication.spi.WSSReplayPasswd
-
- All Implemented Interfaces:
AMPostAuthProcessInterface
public class WSSReplayPasswd extends Object implements AMPostAuthProcessInterface
This class is used to set the encrypted password as a session property. This is a convenient class primarily used for web services security user name token profile where the end user password is encrypted.
-
-
Field Summary
-
Fields inherited from interface com.sun.identity.authentication.spi.AMPostAuthProcessInterface
POST_PROCESS_LOGIN_FAILURE_URL, POST_PROCESS_LOGIN_SUCCESS_URL, POST_PROCESS_LOGOUT_URL
-
-
Constructor Summary
Constructors Constructor Description WSSReplayPasswd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonLoginFailure(Map requestParamsMap, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)Post processing on failed authentication.voidonLoginSuccess(Map requestParamsMap, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, SSOToken ssoToken)Post processing on successful authentication.voidonLogout(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, SSOToken ssoToken)Post processing on Logout.
-
-
-
Method Detail
-
onLoginSuccess
public void onLoginSuccess(Map requestParamsMap, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, SSOToken ssoToken) throws AuthenticationException
Post processing on successful authentication.- Specified by:
onLoginSuccessin interfaceAMPostAuthProcessInterface- Parameters:
requestParamsMap- contains HttpServletRequest parametersrequest- HttpServlet requestresponse- HttpServlet responsessoToken- user's session- Throws:
AuthenticationException- if there is an error while setting the session paswword property
-
onLoginFailure
public void onLoginFailure(Map requestParamsMap, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws AuthenticationException
Post processing on failed authentication.- Specified by:
onLoginFailurein interfaceAMPostAuthProcessInterface- Parameters:
requestParamsMap- contains HttpServletRequest parametersreq- HttpServlet requestres- HttpServlet response- Throws:
AuthenticationException- if there is an error
-
onLogout
public void onLogout(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, SSOToken ssoToken) throws AuthenticationExceptionPost processing on Logout.- Specified by:
onLogoutin interfaceAMPostAuthProcessInterface- Parameters:
req- HttpServlet requestres- HttpServlet responsessoToken- user's session- Throws:
AuthenticationException- if there is an error
-
-