Package org.opensaml.saml.saml1.core
Interface AuthorizationDecisionStatement
-
- All Superinterfaces:
SAMLObject,Statement,SubjectStatement,XMLObject
public interface AuthorizationDecisionStatement extends SAMLObject, SubjectStatement
This interface defines how the object representing a SAML1AuthorizationDecisionStatementelement behaves.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDECISION_ATTRIB_NAMEName for Decision attribute.static StringDEFAULT_ELEMENT_LOCAL_NAMEElement name, no namespace.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringRESOURCE_ATTRIB_NAMEName for Resource attribute.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Action>getActions()Get the actions.DecisionTypeEnumerationgetDecision()Get the decision.EvidencegetEvidence()Get the evidence.StringgetResource()Get the resource.voidsetDecision(DecisionTypeEnumeration decision)Set the decision.voidsetEvidence(Evidence evidence)Set the evidence.voidsetResource(String resource)Set the resource.-
Methods inherited from interface org.opensaml.saml.saml1.core.SubjectStatement
getSubject, setSubject
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
RESOURCE_ATTRIB_NAME
static final String RESOURCE_ATTRIB_NAME
Name for Resource attribute.- See Also:
- Constant Field Values
-
DECISION_ATTRIB_NAME
static final String DECISION_ATTRIB_NAME
Name for Decision attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
getResource
String getResource()
Get the resource.- Returns:
- the resource
-
setResource
void setResource(String resource)
Set the resource.- Parameters:
resource- the resource
-
getDecision
DecisionTypeEnumeration getDecision()
Get the decision.- Returns:
- the decision.
-
setDecision
void setDecision(DecisionTypeEnumeration decision)
Set the decision.- Parameters:
decision- the decision.
-
getEvidence
Evidence getEvidence()
Get the evidence.- Returns:
- the evidence
-
setEvidence
void setEvidence(Evidence evidence) throws IllegalArgumentException
Set the evidence.- Parameters:
evidence- the evidence- Throws:
IllegalArgumentException- if an error occurs
-
-