gov.virginia.dcjs.identity.saml
Class AuthzDecisionStatement
java.lang.Object
gov.virginia.dcjs.ws.Element
gov.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).
| 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 |
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
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.
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