Class 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.
    • Constructor Detail

      • WSSReplayPasswd

        public WSSReplayPasswd()
    • 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:
        onLoginSuccess in interface AMPostAuthProcessInterface
        Parameters:
        requestParamsMap - contains HttpServletRequest parameters
        request - HttpServlet request
        response - HttpServlet response
        ssoToken - 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:
        onLoginFailure in interface AMPostAuthProcessInterface
        Parameters:
        requestParamsMap - contains HttpServletRequest parameters
        req - HttpServlet request
        res - HttpServlet response
        Throws:
        AuthenticationException - if there is an error