public class AuthzDecisionStatement extends Statement
Modifier | Constructor and Description |
---|---|
|
AuthzDecisionStatement(org.w3c.dom.Document owner)
Creates a new
AuthzDecisionStatement instance. |
protected |
AuthzDecisionStatement(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
AuthzDecisionStatement instance. |
|
AuthzDecisionStatement(org.w3c.dom.Element element)
Creates a new
AuthzDecisionStatement instance from the given Element node. |
|
AuthzDecisionStatement(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AuthzDecisionStatement 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.
|
getXsiType, setXsiType
addNSPrefixAttr, 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, setDefaultNSPrefix
appendChild, 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 AuthzDecisionStatement(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AuthzDecisionStatement
instance from the given Element node.element
- An AuthzDecisionStatement element.org.w3c.dom.DOMException
public AuthzDecisionStatement(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
AuthzDecisionStatement
instance from the given Element node.element
- An AuthzDecisionStatement element.systemId
- The URI string system ID for the AuthzDecisionStatement
.org.w3c.dom.DOMException
public AuthzDecisionStatement(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
AuthzDecisionStatement
instance.owner
- The owner document of the new AuthzDecisionStatement.org.w3c.dom.DOMException
protected AuthzDecisionStatement(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
AuthzDecisionStatement
instance. For use by classes extending the saml:AuthzDecisionStatement 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 element.org.w3c.dom.DOMException
public 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.