|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.saml.internal.saml11.jaxb20.StatementAbstractType
com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorizationDecisionStatementType
com.sun.xml.wss.saml.assertion.saml11.jaxb20.AuthorizationDecisionStatement
public class AuthorizationDecisionStatement
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.
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorizationDecisionStatementType |
|---|
action, decision, evidence, resource |
| Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType |
|---|
subject |
| Constructor Summary | |
|---|---|
protected |
AuthorizationDecisionStatement()
Default constructor |
|
AuthorizationDecisionStatement(AuthorizationDecisionStatementType authDesStmt)
|
|
AuthorizationDecisionStatement(Subject subject,
String resource,
String decision,
List action,
Evidence evidence)
Constructs an instance of AuthorizationDecisionStatement. |
| Method Summary | |
|---|---|
static AuthorizationDecisionStatementType |
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. |
Subject |
getSubject()
Gets the value of the subject property. |
| Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorizationDecisionStatementType |
|---|
getAction, getDecision, setDecision, setEvidence, setResource |
| Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType |
|---|
setSubject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
| Constructor Detail |
|---|
protected AuthorizationDecisionStatement()
public AuthorizationDecisionStatement(Subject subject,
String resource,
String decision,
List action,
Evidence evidence)
AuthorizationDecisionStatement.
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.
SAMLException - if there is an error in the sender.public AuthorizationDecisionStatement(AuthorizationDecisionStatementType authDesStmt)
| Method Detail |
|---|
public static AuthorizationDecisionStatementType fromElement(Element element)
throws SAMLException
AuthorizationStatement element from an
existing XML block.
element - representing a DOM tree element
SAMLException - if there is an error in the sender or in
the element definition.public List<Action> getActionList()
AuthorizationDecisionStatement
getActionList in interface AuthorizationDecisionStatementActionpublic Evidence getEvidence()
AuthorizationDecisionStatementType
getEvidence in interface AuthorizationDecisionStatementgetEvidence in class AuthorizationDecisionStatementTypeEvidenceTypepublic String getDecisionValue()
AuthorizationDecisionStatement
getDecisionValue in interface AuthorizationDecisionStatementStringpublic String getResource()
AuthorizationDecisionStatementType
getResource in interface AuthorizationDecisionStatementgetResource in class AuthorizationDecisionStatementTypeStringpublic Subject getSubject()
SubjectStatementAbstractType
getSubject in interface AuthorizationDecisionStatementgetSubject in class SubjectStatementAbstractTypeSubjectType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||