public class QueryClient extends Object
QueryClient
class provides Query Requester clients with
a method to send requests using SOAP connection to SOAP endpoint.Modifier and Type | Method and Description |
---|---|
static Response |
processXACMLQuery(RequestAbstract request,
String pepEntityID,
String pdpEntityID)
Returns SAMLv2
Response . |
static boolean |
verifySignedResponse(String pepEntityID,
String pdpEntityID,
Response response)
Verify the signature in
Response . |
public static Debug debug
public static Response processXACMLQuery(RequestAbstract request, String pepEntityID, String pdpEntityID) throws SAML2Exception
Response
.
SAMLv2 request is sent enclosed in the body of a SOAP Message
to a SOAP endpoint.
Prior to sending the request query, attributes required for completeness
of the SAMLv2 Request will be set (eg. Issuer) if not already set.
Message will be signed if signing is enabled.
SAMLv2 Query Request will be enclosed in the SOAP Body to create a SOAP
message to send to the server.request
- the SAMLv2 RequestAbstract
object.pepEntityID
- entity identifier of the hosted query requester.pdpEntityID
- entity identifier of the remote server.Response
received from the
Query Responder.SAML2Exception
- if there is an error processing the query.public static boolean verifySignedResponse(String pepEntityID, String pdpEntityID, Response response) throws SAML2Exception
Response
.pepEntityID
- entity identifier of PEP.pdpEntityID
- entity identifier of PDP.response
- Response
to be verifiedSAML2Exception
- if error in verifying
the signature.SAML2Exception
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.