Class FSPostLogin


  • public class FSPostLogin
    extends Object
    This class defines methods which will be invoked post Single Sign-On/Federation.
    • Constructor Detail

      • FSPostLogin

        public FSPostLogin()
    • Method Detail

      • doPostLogin

        public void doPostLogin​(jakarta.servlet.http.HttpServletRequest request,
                                jakarta.servlet.http.HttpServletResponse response)
        Retreives and forwards request to URL after login.
        Parameters:
        request - HttpServletRequest object.
        response - HttpServletResponse object.
      • doConsentToIntro

        public String doConsentToIntro​(jakarta.servlet.http.HttpServletRequest request)
                                throws FSPostLoginException
        Returns the introduction URL.
        Parameters:
        request - the HttpServletRequest object.
        Returns:
        a String the Introduction URL.
        Throws:
        FSPostLoginException - on error.
      • doFederation

        public String doFederation​(jakarta.servlet.http.HttpServletRequest request,
                                   jakarta.servlet.http.HttpServletResponse response)
                            throws FSPostLoginException
        Returns the URL to which request should be redirected for federation. This method reads the request parameters and creates an Authentication Request to send to initiate the Single Sign-On / Federation process.
        Parameters:
        request - the HttpServletRequest object.
        response - the HttpServletResponse object.
        Returns:
        the URL to redirect request to.
        Throws:
        FSPostLoginException - on error.