org.opensaml.saml2.core
Interface AuthzDecisionStatement

All Superinterfaces:
SAMLObject, Statement, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
All Known Implementing Classes:
AuthzDecisionStatementImpl

public interface AuthzDecisionStatement
extends Statement

SAML 2.0 Core AuthzDecisionStatement.


Field Summary
static java.lang.String DECISION_ATTRIB_NAME
          Decision attribute name.
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Element local name.
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name.
static java.lang.String RESOURCE_ATTRIB_NAME
          Resource attribute name.
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type.
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type.
 
Method Summary
 java.util.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.
 java.lang.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(java.lang.String newResourceURI)
          Sets URI of the resource to which authorization is saught.
 
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, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Element local name.

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name.


TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type.

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type.


RESOURCE_ATTRIB_NAME

static final java.lang.String RESOURCE_ATTRIB_NAME
Resource attribute name.

See Also:
Constant Field Values

DECISION_ATTRIB_NAME

static final java.lang.String DECISION_ATTRIB_NAME
Decision attribute name.

See Also:
Constant Field Values
Method Detail

getResource

java.lang.String getResource()
Get URI of the resource to which authorization is saught.

Returns:
URI of the resource to which authorization is saught

setResource

void setResource(java.lang.String newResourceURI)
Sets URI of the resource to which authorization is saught.

Parameters:
newResourceURI - URI of the resource to which authorization is saught

getDecision

DecisionTypeEnumeration getDecision()
Gets the decision of the authorization request.

Returns:
the decision of the authorization request

setDecision

void setDecision(DecisionTypeEnumeration newDecision)
Sets the decision of the authorization request.

Parameters:
newDecision - the decision of the authorization request

getActions

java.util.List<Action> getActions()
Gets the actions authorized to be performed.

Returns:
the actions authorized to be performed

getEvidence

Evidence getEvidence()
Get the SAML assertion the authority relied on when making the authorization decision.

Returns:
the SAML assertion the authority relied on when making the authorization decision

setEvidence

void setEvidence(Evidence newEvidence)
Sets the SAML assertion the authority relied on when making the authorization decision.

Parameters:
newEvidence - the SAML assertion the authority relied on when making the authorization decision


Copyright © 2006-2009 Internet2. All Rights Reserved.