com.sun.xml.wss.saml.assertion.saml11.jaxb10
Class AuthorizationDecisionStatement

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
          extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementTypeImpl
              extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementImpl
                  extended by com.sun.xml.wss.saml.assertion.saml11.jaxb10.AuthorizationDecisionStatement
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorizationDecisionStatement, com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorizationDecisionStatementType, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable, com.sun.xml.wss.saml.internal.saml11.jaxb10.StatementAbstractType, com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectStatementAbstractType, Element

public class AuthorizationDecisionStatement
extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementImpl
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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementImpl
com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementImpl.Unmarshaller
 
Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementImpl
version
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementTypeImpl
_Action, _Decision, _Evidence, _Resource
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
_Subject
 
Constructor Summary
protected AuthorizationDecisionStatement()
          Default constructor
  AuthorizationDecisionStatement(com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorizationDecisionStatementType authDesStmt)
           
  AuthorizationDecisionStatement(Subject subject, String resource, String decision, List action, Evidence evidence)
          Constructs an instance of AuthorizationDecisionStatement.
 
Method Summary
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementTypeImpl 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.jaxb10.impl.AuthorizationDecisionStatementImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementTypeImpl
_getAction, getAction, getDecision, setDecision, setEvidence, setResource
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
setSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorizationDecisionStatementType
getAction, getDecision, setDecision, setEvidence, setResource
 
Methods inherited from interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectStatementAbstractType
setSubject
 

Field Detail

log

protected static final Logger log
Constructor Detail

AuthorizationDecisionStatement

protected AuthorizationDecisionStatement()
Default constructor


AuthorizationDecisionStatement

public AuthorizationDecisionStatement(Subject subject,
                                      String resource,
                                      String decision,
                                      List action,
                                      Evidence evidence)
Constructs an instance of AuthorizationDecisionStatement.

Parameters:
subject - (required) A Subject object
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.
Throws:
SAMLException - if there is an error in the sender.

AuthorizationDecisionStatement

public AuthorizationDecisionStatement(com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorizationDecisionStatementType authDesStmt)
Method Detail

fromElement

public static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementTypeImpl fromElement(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.

getActionList

public List<Action> getActionList()
Description copied from interface: AuthorizationDecisionStatement
Gets the value of the action property.

Returns:
Objects of the following type(s) are in the list Action

getEvidence

public Evidence getEvidence()
Description copied from interface: AuthorizationDecisionStatement
Gets the value of the evidence property.

Specified by:
getEvidence in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorizationDecisionStatementType
Overrides:
getEvidence in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementTypeImpl
Returns:
object is Evidence

getDecisionValue

public String getDecisionValue()
Description copied from interface: AuthorizationDecisionStatement
Gets the value of the decision property.

Returns:
object is String

getResource

public String getResource()
Description copied from interface: AuthorizationDecisionStatement
Gets the value of the resource property.

Specified by:
getResource in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthorizationDecisionStatementType
Overrides:
getResource in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorizationDecisionStatementTypeImpl
Returns:
object is String

getSubject

public Subject getSubject()
Description copied from interface: AuthorizationDecisionStatement
Gets the value of the subject property.

Specified by:
getSubject in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectStatementAbstractType
Overrides:
getSubject in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
Returns:
object is Subject


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.