public interface AuthzDecisionStatement extends Statement
AuthzDecisionStatement
element describes a statement
by the SAML authority asserting that a request for access by the assertion
subject tot he specified resource has resulted in the specified authorization
decision on the basis of some optionally specified evidence. Its type is
AuthzDecisionStatementType
.
<complexType name="AuthzDecisionStatementType"> <complexContent> <extension base="{urn:oasis:names:tc:SAML:2.0:assertion} StatementAbstractType"> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Action" maxOccurs="unbounded"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Evidence" minOccurs="0"/> </sequence> <attribute name="Decision" use="required" type="{urn:oasis:names:tc:SAML:2.0:assertion}DecisionType" /> <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </extension> </complexContent> </complexType>
Modifier and Type | Method and Description |
---|---|
List<Action> |
getAction()
Returns the
Action (s) of the statement. |
String |
getDecision()
Returns the
Decision attribute of the statement. |
Evidence |
getEvidence()
Returns the
Evidence of the statement. |
String |
getResource()
Returns the
Resource of the statement. |
void |
setAction(List<Action> value)
Sets the
Action (s) of the statement. |
void |
setDecision(String value)
Sets the
Decision attribute. |
void |
setEvidence(Evidence value)
Sets the
Evidence of the statement. |
void |
setResource(String value)
Sets the
Resource of the statement. |
isMutable, makeImmutable, toXMLString, toXMLString
List<Action> getAction()
Action
(s) of the statement.Action
(s) of the statement.AuthzDecisionStatement.setAction(List)
void setAction(List<Action> value) throws SAML2Exception
Action
(s) of the statement.value
- List of new Action
(s).SAML2Exception
- if the object is immutable.AuthzDecisionStatement.getAction()
Evidence getEvidence()
Evidence
of the statement.Evidence
of the statement.AuthzDecisionStatement.setEvidence(Evidence)
void setEvidence(Evidence value) throws SAML2Exception
Evidence
of the statement.value
- new value for Evidence
.SAML2Exception
- if the object is immutable.AuthzDecisionStatement.getEvidence()
String getResource()
Resource
of the statement.Resource
of the statement.AuthzDecisionStatement.setResource(String)
void setResource(String value) throws SAML2Exception
Resource
of the statement.value
- new Resource
for the statement.SAML2Exception
- if the object is immutable.AuthzDecisionStatement.getResource()
String getDecision()
Decision
attribute of the statement.Decision
attribute of the statement.AuthzDecisionStatement.setDecision(String)
void setDecision(String value) throws SAML2Exception
Decision
attribute.value
- new Decision
for the statement.SAML2Exception
- if the object is immutable.AuthzDecisionStatement.getDecision()
Copyright © 2010-2018, ForgeRock All Rights Reserved.