Class QueryHandlerServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.sun.identity.saml2.soapbinding.QueryHandlerServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class QueryHandlerServlet extends jakarta.servlet.http.HttpServletThis classQueryHandlerServletreceives and processes SAMLv2 Queries.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryHandlerServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Handles the HTTPPOSTmethod.voidinit()jakarta.xml.soap.SOAPMessageonMessage(jakarta.xml.soap.SOAPMessage soapMsg, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String pdpEntityID)Process the incoming SOAP message containing the Query Request and generates outgoing SOAP message containing the Query Response.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
init
public void init() throws jakarta.servlet.ServletException- Overrides:
initin classjakarta.servlet.GenericServlet- Throws:
jakarta.servlet.ServletException
-
doPost
public 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.
-
onMessage
public jakarta.xml.soap.SOAPMessage onMessage(jakarta.xml.soap.SOAPMessage soapMsg, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String pdpEntityID) throws jakarta.xml.soap.SOAPExceptionProcess the incoming SOAP message containing the Query Request and generates outgoing SOAP message containing the Query Response.- Parameters:
soapMsg- incoming SOAP message.request- HTTP servlet request.response- HTTP servlet response.realm- realm of the Policy Decision Point (PDP).pdpEntityID- Entity ID of the Policy Decision Point (PDP).- Returns:
- SOAP message containing the outgoing Response.
- Throws:
jakarta.xml.soap.SOAPException
-
-