Package com.sun.identity.saml2.assertion
Interface AuthzDecisionStatement
- All Superinterfaces:
Statement
,XmlSerializable
The
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>
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAction
(s) of the statement.Returns theDecision
attribute of the statement.Returns theEvidence
of the statement.Returns theResource
of the statement.void
Sets theAction
(s) of the statement.void
setDecision
(String value) Sets theDecision
attribute.void
setEvidence
(Evidence value) Sets theEvidence
of the statement.void
setResource
(String value) Sets theResource
of the statement.Methods inherited from interface com.sun.identity.saml2.assertion.Statement
isMutable, makeImmutable
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getAction
Returns theAction
(s) of the statement.- Returns:
- List of
Action
(s) of the statement. - See Also:
-
setAction
Sets theAction
(s) of the statement.- Parameters:
value
- List of newAction
(s).- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-
getEvidence
Evidence getEvidence()Returns theEvidence
of the statement.- Returns:
Evidence
of the statement.- See Also:
-
setEvidence
Sets theEvidence
of the statement.- Parameters:
value
- new value forEvidence
.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-
getResource
String getResource()Returns theResource
of the statement.- Returns:
- the
Resource
of the statement. - See Also:
-
setResource
Sets theResource
of the statement.- Parameters:
value
- newResource
for the statement.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-
getDecision
String getDecision()Returns theDecision
attribute of the statement.- Returns:
- the
Decision
attribute of the statement. - See Also:
-
setDecision
Sets theDecision
attribute.- Parameters:
value
- newDecision
for the statement.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-