public class AuthzDecisionStatement extends AuthzDecisionStatementType implements AuthnDecisionStatement
AuthzDecisionStatement 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.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
action, decision, evidence, resource| Modifier | Constructor and Description |
|---|---|
protected |
AuthzDecisionStatement()
Default constructor
|
|
AuthzDecisionStatement(AuthzDecisionStatementType authDesStmt) |
|
AuthzDecisionStatement(String resource,
String decision,
List action,
Evidence evidence)
Constructs an instance of
AuthzDecisionStatement. |
| Modifier and Type | Method and Description |
|---|---|
static AuthzDecisionStatementType |
fromElement(Element element)
Constructs an
AuthorizationStatement element from an
existing XML block. |
List<Action> |
getActionList()
Gets the value of the action property.
|
String |
getDecisionValue()
Gets the value of the decision property.
|
Evidence |
getEvidence()
Gets the value of the evidence property.
|
String |
getResource()
Gets the value of the resource property.
|
getAction, getDecision, setDecision, setEvidence, setResourceprotected static final Logger log
protected AuthzDecisionStatement()
public AuthzDecisionStatement(String resource, String decision, List action, Evidence evidence)
AuthzDecisionStatement.resource - (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.public AuthzDecisionStatement(AuthzDecisionStatementType authDesStmt)
public static AuthzDecisionStatementType fromElement(Element element) throws SAMLException
AuthorizationStatement element from an
existing XML block.element - representing a DOM tree elementSAMLException - if there is an error in the sender or in
the element definition.public List<Action> getActionList()
AuthnDecisionStatementgetActionList in interface AuthnDecisionStatementActionpublic Evidence getEvidence()
AuthzDecisionStatementTypegetEvidence in interface AuthnDecisionStatementgetEvidence in class AuthzDecisionStatementTypeEvidenceTypepublic String getDecisionValue()
AuthnDecisionStatementgetDecisionValue in interface AuthnDecisionStatementStringpublic String getResource()
AuthzDecisionStatementTypegetResource in interface AuthnDecisionStatementgetResource in class AuthzDecisionStatementTypeStringCopyright © 2005–2018 Oracle Corporation. All rights reserved.