public class AuthorizationDecisionQuery extends SubjectQuery
Constructor and Description |
---|
AuthorizationDecisionQuery(org.w3c.dom.Document owner)
Creates a new
AuthorizationDecisionQuery instance. |
AuthorizationDecisionQuery(org.w3c.dom.Element element)
Creates a new
AuthorizationDecisionQuery instance from the given Element node. |
AuthorizationDecisionQuery(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AuthorizationDecisionQuery instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action action)
Adds an Action element to this query.
|
java.util.List |
getActions()
Gets a list of actions for which authorization is requested.
|
Evidence |
getEvidence()
Gets the evidence present in this query.
|
java.lang.String |
getResource()
Gets the resource attribute of this AuthorizationDecisionQuery element.
|
void |
setEvidence(Evidence evidence)
Sets the evidence.
|
void |
setResource(java.lang.String uri)
Sets the resource attribute.
|
getSubject, setSubject
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 AuthorizationDecisionQuery(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AuthorizationDecisionQuery
instance from the given Element node.element
- An AuthorizationDecisionQuery element.org.w3c.dom.DOMException
public AuthorizationDecisionQuery(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
AuthorizationDecisionQuery
instance from the given Element node.element
- An AuthorizationDecisionQuery element.systemId
- The URI string system ID for the AuthorizationDecisionQuery
.org.w3c.dom.DOMException
public AuthorizationDecisionQuery(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
AuthorizationDecisionQuery
instance.owner
- The owner document of the new AuthorizationDecisionQuery.org.w3c.dom.DOMException
public void setResource(java.lang.String uri)
uri
- A URI
representing a resource.public java.lang.String getResource()
URI
.public void addAction(Action action)
action
- An Action
object representing an action for which authorization is requested.public java.util.List getActions()
List
containing Action
objects, or an empty List
if none has been set.public void setEvidence(Evidence evidence)
evidence
- An Evidence
object containing an assertion that the responder may rely on making its response.public Evidence getEvidence()
Evidence
or null if not specified.