public class AttributeQueryClient extends Object
Constructor and Description |
---|
AttributeQueryClient(Dispatch<StreamSource> dispatch,
SimpleSign simpleSign,
String externalAttributeStoreUrl,
String issuer,
String destination) |
Modifier and Type | Method and Description |
---|---|
org.opensaml.saml.saml2.core.Assertion |
query(String username)
Query the external attribute store using an AttributeQuery request.
|
protected Document |
sendRequest(Document requestDocument)
Sends the request to the external attribute store via a Dispatch client.
|
void |
setDestination(String destination) |
void |
setDispatch(Dispatch<StreamSource> dispatch) |
void |
setExternalAttributeStoreUrl(String externalAttributeStoreUrl) |
void |
setIssuer(String issuer) |
void |
setSimpleSign(SimpleSign simpleSign) |
public AttributeQueryClient(Dispatch<StreamSource> dispatch, SimpleSign simpleSign, String externalAttributeStoreUrl, String issuer, String destination)
public org.opensaml.saml.saml2.core.Assertion query(String username)
protected Document sendRequest(Document requestDocument)
requestDocument
- of the request.AttributeQueryException
public void setDispatch(Dispatch<StreamSource> dispatch)
public void setSimpleSign(SimpleSign simpleSign)
public void setExternalAttributeStoreUrl(String externalAttributeStoreUrl)
public void setIssuer(String issuer)
public void setDestination(String destination)
This work is licensed under a Creative Commons Attribution 4.0 International License.