org.opensaml.saml2.core.impl
public class AuthzDecisionStatementImpl extends AbstractSAMLObject implements AuthzDecisionStatement
AuthzDecisionStatement
.Modifier and Type | Field and Description |
---|---|
private XMLObjectChildrenList<Action> |
actions
Actions authorized to be performed.
|
private DecisionTypeEnumeration |
decision
Decision of the authorization request.
|
private Evidence |
evidence
SAML assertion the authority relied on when making the authorization decision.
|
private String |
resource
URI of the resource to which authorization is sought.
|
DECISION_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
AuthzDecisionStatementImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<Action> |
getActions()
Gets the actions authorized to be performed.
|
DecisionTypeEnumeration |
getDecision()
Gets the decision of the authorization request.
|
Evidence |
getEvidence()
Get the SAML assertion the authority relied on when making the authorization decision.
|
List<XMLObject> |
getOrderedChildren() |
String |
getResource()
Get URI of the resource to which authorization is saught.
|
void |
setDecision(DecisionTypeEnumeration newDecision)
Sets the decision of the authorization request.
|
void |
setEvidence(Evidence newEvidence)
Sets the SAML assertion the authority relied on when making the authorization decision.
|
void |
setResource(String newResourceURI)
Sets URI of the resource to which authorization is saught.
|
equals, prepareForAssignment
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
private String resource
private DecisionTypeEnumeration decision
private final XMLObjectChildrenList<Action> actions
private Evidence evidence
protected AuthzDecisionStatementImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespacepublic String getResource()
getResource
in interface AuthzDecisionStatement
public void setResource(String newResourceURI)
setResource
in interface AuthzDecisionStatement
newResourceURI
- URI of the resource to which authorization is saughtpublic DecisionTypeEnumeration getDecision()
getDecision
in interface AuthzDecisionStatement
public void setDecision(DecisionTypeEnumeration newDecision)
setDecision
in interface AuthzDecisionStatement
newDecision
- the decision of the authorization requestpublic List<Action> getActions()
getActions
in interface AuthzDecisionStatement
public Evidence getEvidence()
getEvidence
in interface AuthzDecisionStatement
public void setEvidence(Evidence newEvidence)
setEvidence
in interface AuthzDecisionStatement
newEvidence
- the SAML assertion the authority relied on when making the authorization decisionpublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.