Class FSConsentHandler
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.identity.federation.login.FSConsentHandler
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class FSConsentHandler extends jakarta.servlet.http.HttpServletThis servlet redirects the request to the introduction URL or the provider home page URL based on the action in the request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSConsentHandler()
-
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 or to the introduction URL.- 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.
-
-