Package org.opensaml.saml.saml2.core
Interface AuthzDecisionStatement
- All Superinterfaces:
SAMLObject
,Statement
,XMLObject
- All Known Implementing Classes:
AuthzDecisionStatementImpl
SAML 2.0 Core AuthzDecisionStatement.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the actions authorized to be performed.Gets the decision of the authorization request.Get the SAML assertion the authority relied on when making the authorization decision.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 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 Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
RESOURCE_ATTRIB_NAME
Resource attribute name.- See Also:
-
DECISION_ATTRIB_NAME
Decision attribute name.- See Also:
-
-
Method Details
-
getResource
String getResource()Get URI of the resource to which authorization is saught.- Returns:
- URI of the resource to which authorization is saught
-
setResource
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
Sets the decision of the authorization request.- Parameters:
newDecision
- the decision of the authorization request
-
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
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
-