public class AuthzDecisionQuery extends SubjectQuery
VERSION| Modifier | Constructor and Description |
|---|---|
|
AuthzDecisionQuery(org.w3c.dom.Document owner)
Creates a new
AuthzDecisionQuery instance. |
protected |
AuthzDecisionQuery(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
AuthzDecisionQuery instance. |
|
AuthzDecisionQuery(org.w3c.dom.Element element)
Creates a new
AuthzDecisionQuery instance from the given Element node. |
|
AuthzDecisionQuery(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AuthzDecisionQuery instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action action)
Adds an action authorized to be performed on the resource.
|
java.util.List |
getActions()
Gets the set of actions authorized to be performed on the specified resource.
|
Evidence |
getEvidence()
Gets the set of evidences of this statement.
|
java.lang.String |
getResource()
Gets the resource to which access authorization is sought.
|
void |
setEvidence(Evidence evidence)
Adds an evidence to the statement.
|
void |
setResource(java.lang.String resource)
Sets the resource to which access authorization is sought.
|
getSubject, getXsiType, setSubject, setXsiTypeaddSignature, addSignature, clearSignature, getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, 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, toStringXML
public AuthzDecisionQuery(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AuthzDecisionQuery instance from the given Element node.element - An AuthzDecisionQuery element.org.w3c.dom.DOMException
public AuthzDecisionQuery(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AuthzDecisionQuery instance from the given Element node.element - An AuthzDecisionQuery element.systemId - The URI string system ID for the AuthzDecisionQuery.org.w3c.dom.DOMException
public AuthzDecisionQuery(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AuthzDecisionQuery instance.owner - The owner document of the new AuthzDecisionQuery.org.w3c.dom.DOMException
protected AuthzDecisionQuery(org.w3c.dom.Document owner,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
AuthzDecisionQuery instance. This is for use in any sub-class for extension of the samlp:AuthzDecisionQuery element.owner - The owner document of the new element.nsURI - The namespace in which the new element is to be created.localName - The localName of the new element.org.w3c.dom.DOMExceptionpublic void setResource(java.lang.String resource)
resource - A URI reference identifying a resource.public java.lang.String getResource()
URI identifying a resource.public void addAction(Action action)
action - An Action object representing an action allowed to be performed.public java.util.List getActions()
List containing Action objects.public void setEvidence(Evidence evidence)
evidence - An Evidence object that the issuer relied on in making the decision.public Evidence getEvidence()
List containing Evidence objects.