|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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, hashCode, 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, 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 namespace| Method Detail |
|---|
public String getResource()
getResource in interface AuthzDecisionStatementpublic void setResource(String newResourceURI)
setResource in interface AuthzDecisionStatementnewResourceURI - URI of the resource to which authorization is saughtpublic DecisionTypeEnumeration getDecision()
getDecision in interface AuthzDecisionStatementpublic void setDecision(DecisionTypeEnumeration newDecision)
setDecision in interface AuthzDecisionStatementnewDecision - the decision of the authorization requestpublic List<Action> getActions()
getActions in interface AuthzDecisionStatementpublic Evidence getEvidence()
getEvidence in interface AuthzDecisionStatementpublic void setEvidence(Evidence newEvidence)
setEvidence in interface AuthzDecisionStatementnewEvidence - 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 | |||||||||