Class AttributeQueryClient
java.lang.Object
org.codice.ddf.security.claims.attributequery.common.AttributeQueryClient
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeQueryClient(javax.xml.ws.Dispatch<StreamSource> dispatch, ddf.security.samlp.impl.SimpleSign simpleSign, String externalAttributeStoreUrl, String issuer, String destination) -
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.AssertionQuery the external attribute store using an AttributeQuery request.protected DocumentsendRequest(Document requestDocument) Sends the request to the external attribute store via a Dispatch client.voidsetDestination(String destination) voidsetDispatch(javax.xml.ws.Dispatch<StreamSource> dispatch) voidsetExternalAttributeStoreUrl(String externalAttributeStoreUrl) voidvoidsetSimpleSign(ddf.security.samlp.impl.SimpleSign simpleSign)
-
Constructor Details
-
AttributeQueryClient
public AttributeQueryClient(javax.xml.ws.Dispatch<StreamSource> dispatch, ddf.security.samlp.impl.SimpleSign simpleSign, String externalAttributeStoreUrl, String issuer, String destination)
-
-
Method Details
-
query
Query the external attribute store using an AttributeQuery request.- Returns:
- Assertion of the response.
-
sendRequest
Sends the request to the external attribute store via a Dispatch client.- Parameters:
requestDocument- of the request.- Returns:
- Document of the response or null if the response is empty.
- Throws:
AttributeQueryException
-
setDispatch
-
setSimpleSign
public void setSimpleSign(ddf.security.samlp.impl.SimpleSign simpleSign) -
setExternalAttributeStoreUrl
-
setIssuer
-
setDestination
-