com.sun.identity.saml2.assertion
Interface AuthzDecisionStatement

All Superinterfaces:
Statement

public interface AuthzDecisionStatement
extends Statement

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
 java.util.List getAction()
          Returns the Action(s) of the statement.
 java.lang.String getDecision()
          Returns the Decision attribute of the statement.
 Evidence getEvidence()
          Returns the Evidence of the statement.
 java.lang.String getResource()
          Returns the Resource of the statement.
 void setAction(java.util.List value)
          Sets the Action(s) of the statement.
 void setDecision(java.lang.String value)
          Sets the Decision attribute.
 void setEvidence(Evidence value)
          Sets the Evidence of the statement.
 void setResource(java.lang.String value)
          Sets the Resource of the statement.
 
Methods inherited from interface com.sun.identity.saml2.assertion.Statement
isMutable, makeImmutable, toXMLString, toXMLString
 

Method Detail

getAction

public java.util.List getAction()
Returns the Action(s) of the statement.

Returns:
List of Action(s) of the statement.
See Also:
setAction(List)

setAction

public void setAction(java.util.List value)
               throws SAML2Exception
Sets the Action(s) of the statement.

Parameters:
value - List of new Action(s).
Throws:
SAML2Exception - if the object is immutable.
See Also:
getAction()

getEvidence

public Evidence getEvidence()
Returns the Evidence of the statement.

Returns:
Evidence of the statement.
See Also:
setEvidence(Evidence)

setEvidence

public void setEvidence(Evidence value)
                 throws SAML2Exception
Sets the Evidence of the statement.

Parameters:
value - new value for Evidence.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getEvidence()

getResource

public java.lang.String getResource()
Returns the Resource of the statement.

Returns:
the Resource of the statement.
See Also:
setResource(String)

setResource

public void setResource(java.lang.String value)
                 throws SAML2Exception
Sets the Resource of the statement.

Parameters:
value - new Resource for the statement.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getResource()

getDecision

public java.lang.String getDecision()
Returns the Decision attribute of the statement.

Returns:
the Decision attribute of the statement.
See Also:
setDecision(String)

setDecision

public void setDecision(java.lang.String value)
                 throws SAML2Exception
Sets the Decision attribute.

Parameters:
value - new Decision for the statement.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getDecision()


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.