gov.virginia.dcjs.identity.saml
Class AuthzDecisionStatement

java.lang.Object
  extended bygov.virginia.dcjs.ws.Element
      extended bygov.virginia.dcjs.identity.saml.AuthzDecisionStatement
All Implemented Interfaces:
org.apache.soap.util.xml.Serializer, StatementAbstractType, XmlElement

public class AuthzDecisionStatement
extends Element
implements StatementAbstractType

Use this class to describe a statement by the SAML authority asserting that a request for access by the assertio subject to the specified resource has resulted in the specified authorization decision (on the basis of some optionally specified evidence).


Field Summary
static int DENY
           
static int INDETERMINATE
           
static int PERMIT
           
 
Constructor Summary
AuthzDecisionStatement(java.lang.String resource, int decision, Action action)
           
 
Method Summary
 void addAction(Action action)
           
 void setEvidence(Evidence evidence)
           
 
Methods inherited from class gov.virginia.dcjs.ws.Element
addAttribute, addElement, arrayAppend, declareNamespaces, getNamespaces, marshall, removeAttribute, removeElement, setContent, toString, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.virginia.dcjs.ws.XmlElement
declareNamespaces, getNamespaces, toXml
 

Field Detail

PERMIT

public static final int PERMIT
See Also:
Constant Field Values

DENY

public static final int DENY
See Also:
Constant Field Values

INDETERMINATE

public static final int INDETERMINATE
See Also:
Constant Field Values
Constructor Detail

AuthzDecisionStatement

public AuthzDecisionStatement(java.lang.String resource,
                              int decision,
                              Action action)
Parameters:
resource - URI Reference to resource to which access autorization is sought.
decision - One of the {PERMIT, DENY, INDETERMINATE} class contants.
action - Authorized action to be performed on resource.
Method Detail

addAction

public void addAction(Action action)
Parameters:
action - Specifies the action on this resource for which permission is sought.

setEvidence

public void setEvidence(Evidence evidence)
Parameters:
evidence - Assertion(s) or reference(s) relied upon in issuing authorization decision