|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.AbstractXMLObject org.opensaml.xml.validation.AbstractValidatingXMLObject org.opensaml.common.impl.AbstractSAMLObject org.opensaml.saml2.core.impl.AuthzDecisionStatementImpl
public class AuthzDecisionStatementImpl
A concrete implementation of AuthzDecisionStatement
.
Field Summary | |
---|---|
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. |
Fields inherited from interface org.opensaml.saml2.core.AuthzDecisionStatement |
---|
DECISION_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
Constructor Summary | |
---|---|
protected |
AuthzDecisionStatementImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
---|
equals, prepareForAssignment |
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
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 |
Field Detail |
---|
private String resource
private DecisionTypeEnumeration decision
private final XMLObjectChildrenList<Action> actions
private Evidence evidence
Constructor Detail |
---|
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 namespaceMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |