Interface RequestHandler

  • All Known Implementing Classes:
    XACMLAuthzDecisionQueryHandler

    public interface RequestHandler
    The RequestHandler interface needs to be implemented by each SAMLv2 Query Profile implementaion in order to receive Query Requests from Client. The SOAP end point should be defined in the profile's metadata.
    • Method Detail

      • handleQuery

        Response handleQuery​(String hostedEntityID,
                             String remoteEntityID,
                             RequestAbstract request,
                             jakarta.xml.soap.SOAPMessage soapMessage)
                      throws SAML2Exception
        Returns a SAMLv2 Query Response for the received Query Request.
        Parameters:
        hostedEntityID - the entity identifier of the host.
        remoteEntityID - the entity identifier of the remote client.
        request - the incoming Query SAMLv2 Request message from client.
        soapMessage - the SOAP Message .
        Returns:
        the SAMLv2 response to be sent to Query client.
        Throws:
        SAML2Exception - if there is an error processing the query.