Class CookieReaderServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.identity.saml2.idpdiscovery.CookieReaderServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class CookieReaderServlet extends jakarta.servlet.http.HttpServletThe Reader Service is used by the service provider. The service provider redirects the principal to this URL in order to find the preferred identity provider. Once found, the principal is redirected to the identity provider for single sign-on. The URL is defined as the value for the Reader Service URL attribute when an authentication domain is created. It is formatted as http://common-domain-host:port/deployment-uri/saml2reader where common-domain-host:port refers to the machine on which the Common Domain Services are installed and deployment-uri tells the web container where to look for information specific to the application (such as classes or JARs). The default URI is amcommon.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CookieReaderServlet()
-
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)Gets handle to CookieUtils.debug.-
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.ServletExceptionGets handle to CookieUtils.debug.- Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.GenericServlet- Parameters:
config- the ServletConfig object that contains configutation information for this servlet.- Throws:
jakarta.servlet.ServletException- if an exception occurs that interrupts the servlet's normal operation.
-
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- an HttpServletRequest object that contains the request the client has made of the servlet.response- an HttpServletResponse object 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- an HttpServletRequest object that contains the request the client has made of the servlet.response- an HttpServletResponse object 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
-
-