public class Request extends RequestType
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT| Constructor and Description |
|---|
Request(org.w3c.dom.Document owner)
Creates a new
Request instance. |
Request(org.w3c.dom.Element element)
Creates a new
Request instance from the given Element node. |
Request(org.w3c.dom.Element element,
java.lang.String systemId)
Creates a new
Request instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssertionArtifact(java.lang.String value)
Adds an assertion artifact the represents the assertions
requested.
|
void |
addAssertionIDReference(java.lang.String value)
Adds an ID that refers to a specific Assertion which specifies to the issuer that
assertions are requested.
|
java.util.List |
getAssertionArtifacts()
Returns a list of assertion artifact.
|
java.util.List |
getAssertionIDReferences()
Returns a list of assertion IDs specified in the AssertionIDReference element.
|
AttributeQuery |
getAttributeQuery()
Returns the
AttributeQuery element contained in
this request. |
AuthenticationQuery |
getAuthenticationQuery()
Returns the
AuthenticationQuery element contained in
this request. |
AuthorizationDecisionQuery |
getAuthorizationDecisionQuery()
Returns the
AuthorizationDecisionQuery element contained in
this request. |
void |
setQuery(Query query)
Sets the
Query element of this request. |
addRespondWith, addRespondWithValue, getID, getIssueInstant, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, getRequestID, getRespondWiths, getRespondWithValues, setIssueInstant, setRequestIDaddSignature, addSignature, clearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, setVersion, sign, sign, sign, sign, verify, verifyaddNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXMLpublic Request(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
Request instance from the given Element node.element - A Request element.org.w3c.dom.DOMExceptionpublic Request(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
Request instance from the given Element node.element - A Request element.systemId - The URI string system ID for the Request.org.w3c.dom.DOMExceptionpublic Request(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
Request instance.owner - The owner document of the new Request.org.w3c.dom.DOMExceptionpublic void setQuery(Query query)
Query element of this request.query - The Query object to set.public AuthenticationQuery getAuthenticationQuery()
AuthenticationQuery element contained in
this request.AuthenticationQuery object or null
if none has been set.public AttributeQuery getAttributeQuery()
AttributeQuery element contained in
this request.AttributeQuery object or null
if none has been set.public AuthorizationDecisionQuery getAuthorizationDecisionQuery()
AuthorizationDecisionQuery element contained in
this request.AuthorizationDecisionQuery object or null
if none has been set.public void addAssertionIDReference(java.lang.String value)
value - A string representing the ID of an assertion.public java.util.List getAssertionIDReferences()
List of strings, or an empty List
if no ID has been set.public void addAssertionArtifact(java.lang.String value)
value - A string representing an assertion artifact.public java.util.List getAssertionArtifacts()
List of strings, or an empty List
if no assertion artifact has been set.