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.HttpServlet
This classQueryHandlerServlet
receives 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 void
doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
Handles the HTTPPOST
method.void
init()
jakarta.xml.soap.SOAPMessage
onMessage(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:
init
in 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, IOException
Handles the HTTPPOST
method.- Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- theHttpServletRequest
object.response
- theHttpServletResponse
object.- 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.SOAPException
Process 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
-
-