Package com.sun.identity.saml2.assertion
Interface AuthzDecisionStatement
-
- All Superinterfaces:
Statement,XmlSerializable
@SupportedAll public interface AuthzDecisionStatement extends Statement
TheAuthzDecisionStatementelement 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 isAuthzDecisionStatementType.<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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Action>getAction()Returns theAction(s) of the statement.StringgetDecision()Returns theDecisionattribute of the statement.EvidencegetEvidence()Returns theEvidenceof the statement.StringgetResource()Returns theResourceof the statement.voidsetAction(List<Action> value)Sets theAction(s) of the statement.voidsetDecision(String value)Sets theDecisionattribute.voidsetEvidence(Evidence value)Sets theEvidenceof the statement.voidsetResource(String value)Sets theResourceof 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 Detail
-
getAction
List<Action> getAction()
Returns theAction(s) of the statement.- Returns:
- List of
Action(s) of the statement. - See Also:
setAction(List)
-
setAction
void setAction(List<Action> value) throws SAML2Exception
Sets theAction(s) of the statement.- Parameters:
value- List of newAction(s).- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAction()
-
getEvidence
Evidence getEvidence()
Returns theEvidenceof the statement.- Returns:
Evidenceof the statement.- See Also:
setEvidence(Evidence)
-
setEvidence
void setEvidence(Evidence value) throws SAML2Exception
Sets theEvidenceof the statement.- Parameters:
value- new value forEvidence.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getEvidence()
-
getResource
String getResource()
Returns theResourceof the statement.- Returns:
- the
Resourceof the statement. - See Also:
setResource(String)
-
setResource
void setResource(String value) throws SAML2Exception
Sets theResourceof the statement.- Parameters:
value- newResourcefor the statement.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getResource()
-
getDecision
String getDecision()
Returns theDecisionattribute of the statement.- Returns:
- the
Decisionattribute of the statement. - See Also:
setDecision(String)
-
setDecision
void setDecision(String value) throws SAML2Exception
Sets theDecisionattribute.- Parameters:
value- newDecisionfor the statement.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getDecision()
-
-