com.sun.identity.saml.assertion
Class AuthorizationDecisionStatement
java.lang.Object
com.sun.identity.saml.assertion.Statement
com.sun.identity.saml.assertion.SubjectStatement
com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase
com.sun.identity.saml.assertion.AuthorizationDecisionStatement
- public class AuthorizationDecisionStatement
- extends com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase
The AuthorizationDecisionStatement
element supplies a statement
by the issuer that the request for access by the specified subject to the
specified resource has resulted in the specified decision on the basis of
some optionally specified evidence.
Nested classes inherited from class com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase |
com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase.DecisionType |
Constructor Summary |
AuthorizationDecisionStatement(org.w3c.dom.Element element)
Constructs an AuthorizationStatement element from an
existing XML block. |
AuthorizationDecisionStatement(Subject subject,
java.lang.String resource,
int decision,
java.util.List action)
Constructs a AuthorizationDecisionStatement instance. |
AuthorizationDecisionStatement(Subject subject,
java.lang.String resource,
int decision,
java.util.List action,
com.sun.identity.saml.assertion.EvidenceBase evidence)
Constructs an instance of AuthorizationDecisionStatement . |
Methods inherited from class com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase |
getAction, getDecision, getResource, getStatementType, toString, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthorizationDecisionStatement
public AuthorizationDecisionStatement(org.w3c.dom.Element element)
throws SAMLException
- Constructs an
AuthorizationStatement
element from an
existing XML block.
- Parameters:
element
- representing a DOM tree element
- Throws:
SAMLException
- if there is an error in the sender or in
the element definition.
AuthorizationDecisionStatement
public AuthorizationDecisionStatement(Subject subject,
java.lang.String resource,
int decision,
java.util.List action,
com.sun.identity.saml.assertion.EvidenceBase evidence)
throws SAMLException
- Constructs an instance of
AuthorizationDecisionStatement
.
- Parameters:
subject
- (required) A Subject objectresource
- (required) A String identifying the resource to which
access authorization is sought.decision
- (required) The decision rendered by the issuer with
respect to the specified resource. The value is of the
DecisionType
simple type.action
- (required) A List of Action objects specifying the set of
actions authorized to be performed on the specified resource.evidence
- (optional) An Evidence object representing a set of
assertions that the issuer replied on in making decisions.
- Throws:
SAMLException
- if there is an error in the sender.
AuthorizationDecisionStatement
public AuthorizationDecisionStatement(Subject subject,
java.lang.String resource,
int decision,
java.util.List action)
throws SAMLException
- Constructs a
AuthorizationDecisionStatement
instance.
- Parameters:
subject
- (required) A Subject objectresource
- (required) A String identifying the resource to which
access authorization is sought.decision
- (required) The decision rendered by the issuer with
respect to the specified resource. The value is of the
DecisionType
simple type.action
- (required) A List of Action objects specifying the set of
actions authorized to be performed on the
specified resource.
- Throws:
SAMLException
- if there is an error in the sender.
getEvidence
public Evidence getEvidence()
- Returns the evidence from
AuthorizationStatement
.
- Returns:
- An Evidence object that the issuer replied on in making decisions.
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.