Class FSRegistrationRequestServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.identity.federation.services.registration.FSRegistrationRequestServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class FSRegistrationRequestServlet extends jakarta.servlet.http.HttpServletHandles registration request received from remote provider.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSRegistrationRequestServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Handles the HTTP GET request.voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Handles the HTTP POST request.voidinit(jakarta.servlet.ServletConfig config)Initializes the servlet.protected voidsetRegistrationURL(com.sun.identity.federation.jaxb.entityconfig.BaseConfigType hostedConfig, String metaAlias)Invoked to set some commonly used registration URLs based on hosted provider.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletExceptionInitializes the servlet.- Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.GenericServlet- Parameters:
config- theServletConfigobject that contains configutation information for this servlet.- Throws:
jakarta.servlet.ServletException- if an exception occurs that interrupts the servlet's normal operation.
-
setRegistrationURL
protected void setRegistrationURL(com.sun.identity.federation.jaxb.entityconfig.BaseConfigType hostedConfig, String metaAlias)Invoked to set some commonly used registration URLs based on hosted provider.- Parameters:
hostedConfig- hosted provider's extended metametaAlias- hosted provider's meta alias
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOExceptionHandles the HTTP GET request.- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Parameters:
request-HttpServletRequestobject that contains the request the client has made of the servlet.response-HttpServletResponseobject that contains the response the servlet sends to the client.- Throws:
jakarta.servlet.ServletException- if an input or output error is detected when the servlet handles the GET requestIOException- if the request for the GET could not be handled
-
doPost
public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOExceptionHandles the HTTP POST request.- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Parameters:
request-HttpServletRequestobject that contains the request the client has made of the servlet.response-HttpServletResponseobject that contains the response the servlet sends to the client.- Throws:
jakarta.servlet.ServletException- if an input or output error is detected when the servlet handles the POST requestIOException- if the request for the POST could not be handled
-
-