Class AuthorizationDecisionStatement
java.lang.Object
com.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
- All Implemented Interfaces:
AuthorizationDecisionStatement
public class AuthorizationDecisionStatement
extends AuthorizationDecisionStatementType
implements 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
FieldsFields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorizationDecisionStatementType
action, decision, evidence, resourceFields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
subject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromElement(Element element) Constructs anAuthorizationStatementelement from an existing XML block.Gets the value of the action property.Gets the value of the decision property.Gets the value of the evidence property.Gets the value of the resource property.Gets the value of the subject property.Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AuthorizationDecisionStatementType
getAction, getDecision, setDecision, setEvidence, setResourceMethods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
setSubject
-
Field Details
-
log
-
-
Constructor Details
-
AuthorizationDecisionStatement
protected AuthorizationDecisionStatement()Default constructor -
AuthorizationDecisionStatement
public AuthorizationDecisionStatement(Subject subject, String resource, String decision, List action, Evidence evidence) Constructs an instance ofAuthorizationDecisionStatement.- 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 theDecisionTypesimple 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.
-
AuthorizationDecisionStatement
-
-
Method Details
-
fromElement
Constructs anAuthorizationStatementelement 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.
-
getActionList
Description copied from interface:AuthorizationDecisionStatementGets the value of the action property.- Specified by:
getActionListin interfaceAuthorizationDecisionStatement- Returns:
- Objects of the following type(s) are in the list
Action
-
getEvidence
Description copied from class:AuthorizationDecisionStatementTypeGets the value of the evidence property.- Specified by:
getEvidencein interfaceAuthorizationDecisionStatement- Overrides:
getEvidencein classAuthorizationDecisionStatementType- Returns:
- possible object is
EvidenceType
-
getDecisionValue
Description copied from interface:AuthorizationDecisionStatementGets the value of the decision property.- Specified by:
getDecisionValuein interfaceAuthorizationDecisionStatement- Returns:
- object is
String
-
getResource
Description copied from class:AuthorizationDecisionStatementTypeGets the value of the resource property.- Specified by:
getResourcein interfaceAuthorizationDecisionStatement- Overrides:
getResourcein classAuthorizationDecisionStatementType- Returns:
- possible object is
String
-
getSubject
Description copied from class:SubjectStatementAbstractTypeGets the value of the subject property.- Specified by:
getSubjectin interfaceAuthorizationDecisionStatement- Overrides:
getSubjectin classSubjectStatementAbstractType- Returns:
- possible object is
SubjectType
-