Class FSFederationHandler

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    public class FSFederationHandler
    extends jakarta.servlet.http.HttpServlet
    This servlet processes requests to initiate Federation and redirects to the provider home pager URL on successful federation.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGet​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Handles the HTTP GET method.
      protected void doPost​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Handles the HTTP POST method.
      protected void processRequest​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Processes requests for both HTTP GET and POST methods.
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
    • Constructor Detail

      • FSFederationHandler

        public FSFederationHandler()
    • Method Detail

      • processRequest

        protected void processRequest​(jakarta.servlet.http.HttpServletRequest request,
                                      jakarta.servlet.http.HttpServletResponse response)
                               throws jakarta.servlet.ServletException,
                                      IOException
        Processes requests for both HTTP GET and POST methods. Redirects to provider URL if the action is cancel else to the provider URL or to the error page on error.
        Parameters:
        request - the HttpServletRequest object.
        response - the HttpServletResponse object.
        Throws:
        jakarta.servlet.ServletException - if the request could not be handled.
        IOException - if an input or output error occurs.
      • doGet

        protected void doGet​(jakarta.servlet.http.HttpServletRequest request,
                             jakarta.servlet.http.HttpServletResponse response)
                      throws jakarta.servlet.ServletException,
                             IOException
        Handles the HTTP GET method.
        Overrides:
        doGet in class jakarta.servlet.http.HttpServlet
        Parameters:
        request - the HttpServletRequest object.
        response - the HttpServletResponse object.
        Throws:
        jakarta.servlet.ServletException - if the request could not be handled.
        IOException - if an input or output error occurs.
      • doPost

        protected void doPost​(jakarta.servlet.http.HttpServletRequest request,
                              jakarta.servlet.http.HttpServletResponse response)
                       throws jakarta.servlet.ServletException,
                              IOException
        Handles the HTTP POST method.
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Parameters:
        request - the HttpServletRequest object.
        response - the HttpServletResponse object.
        Throws:
        jakarta.servlet.ServletException - if the request could not be handled.
        IOException - if an input or output error occurs.