public class AuthorizationDecisionStatement extends SubjectStatement
| Constructor and Description |
|---|
AuthorizationDecisionStatement(org.w3c.dom.Document owner)
Creates a new
AuthorizationDecisionStatement instance. |
AuthorizationDecisionStatement(org.w3c.dom.Element element)
Creates a new
AuthorizationDecisionStatement instance from the given Element node. |
AuthorizationDecisionStatement(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AuthorizationDecisionStatement 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.
|
Decision |
getDecision()
Gets the decision rendered by the issuer.
|
Evidence |
getEvidence()
Gets the set of evidences of this statement.
|
java.lang.String |
getResource()
Gets the resource to which access authorization is sought.
|
void |
setDecision(Decision decision)
Sets the decision rendered by the issuer.
|
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, setSubjectaddNSPrefixAttr, 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 AuthorizationDecisionStatement(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AuthorizationDecisionStatement instance from the given Element node.element - An AuthorizationDecisionStatement element.org.w3c.dom.DOMException
public AuthorizationDecisionStatement(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AuthorizationDecisionStatement instance from the given Element node.element - An AuthorizationDecisionStatement element.systemId - The URI string system ID for the AuthorizationDecisionStatement.org.w3c.dom.DOMException
public AuthorizationDecisionStatement(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AuthorizationDecisionStatement instance.owner - The owner document of the new AuthorizationDecisionStatement.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 setDecision(Decision decision)
decision - The Decision representing the decision of the issuer.public Decision getDecision()
Decision object.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.