Package com.sun.identity.saml.servlet
Class SAMLPOSTProfileServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.identity.saml.servlet.SAMLPOSTProfileServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class SAMLPOSTProfileServlet extends jakarta.servlet.http.HttpServletThis servlet is used to support SAML 1.x Web Browser/POST Profile.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SAMLPOSTProfileServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)InitiatesSAMLweb browser POST profile.voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)This method processes TARGET and SAMLResponse info from the request, validates the response/assertion(s), then redirects user to the TARGET resource if all are valid.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOExceptionInitiatesSAMLweb browser POST profile. This method takes in a TARGET in the request, creates a SAMLResponse, then redirects user to the destination site.- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Parameters:
request-HttpServletRequestinstanceresponse-HttpServletResponseinstance- Throws:
jakarta.servlet.ServletException- if there is an error.IOException- if there is an error.
-
doPost
public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOExceptionThis method processes TARGET and SAMLResponse info from the request, validates the response/assertion(s), then redirects user to the TARGET resource if all are valid.- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Parameters:
request-HttpServletRequestinstanceresponse-HttpServletResponseinstance- Throws:
jakarta.servlet.ServletException- if there is an error.IOException- if there is an error.
-
-