Class FSPreLoginHandler
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.identity.federation.login.FSPreLoginHandler
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class FSPreLoginHandler extends jakarta.servlet.http.HttpServletThis servlet is invoked to determine where the incoming request should be redirected to , based on the validity of the Federation Manager Session Cookie and the existance of the Federation Cookie, whether local authentication needs to be done.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSPreLoginHandler()
-
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.- 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.
-
-