Class FSFederationHandler
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.identity.federation.login.FSFederationHandler
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class FSFederationHandler extends jakarta.servlet.http.HttpServletThis servlet processes requests to initiate Federation and redirects to the provider home pager URL on successful federation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSFederationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Handles the HTTPGETmethod.protected voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Handles the HTTPPOSTmethod.protected voidprocessRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Processes requests for both HTTPGETandPOSTmethods.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
processRequest
protected void processRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOExceptionProcesses requests for both HTTPGETandPOSTmethods. Redirects to provider URL if the action is cancel else to the provider URL or to the error page on error.- Parameters:
request- theHttpServletRequestobject.response- theHttpServletResponseobject.- 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, IOExceptionHandles the HTTPGETmethod.- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Parameters:
request- theHttpServletRequestobject.response- theHttpServletResponseobject.- 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, IOExceptionHandles the HTTPPOSTmethod.- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Parameters:
request- theHttpServletRequestobject.response- theHttpServletResponseobject.- Throws:
jakarta.servlet.ServletException- if the request could not be handled.IOException- if an input or output error occurs.
-
-