com.sun.identity.saml.assertion
クラス 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 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.


入れ子のクラスの概要
 
クラス com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase から継承された入れ子のクラス/インタフェース
AuthorizationDecisionStatementBase.DecisionType
 
フィールドの概要
 
クラス com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase から継承されたフィールド
_evidence
 
クラス com.sun.identity.saml.assertion.SubjectStatement から継承されたフィールド
_subject
 
クラス com.sun.identity.saml.assertion.Statement から継承されたフィールド
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT, NOT_SUPPORTED
 
コンストラクタの概要
protected AuthorizationDecisionStatement()
          Default constructor
  AuthorizationDecisionStatement(Element element)
          Constructs an AuthorizationStatement element from an existing XML block.
  AuthorizationDecisionStatement(Subject subject, String resource, int decision, List action)
          Constructs a AuthorizationDecisionStatement instance.
  AuthorizationDecisionStatement(Subject subject, String resource, int decision, List action, EvidenceBase evidence)
          Constructs an instance of AuthorizationDecisionStatement.
 
メソッドの概要
protected  Action createAction(Element actionElement)
          Creates appropriate Action Instance
protected  EvidenceBase createEvidence(Element evidenceElement)
          Creates appropriate Evidence Instance
protected  Subject createSubject(Element subjectElement)
          Creates appropriate Subject Instance
 Evidence getEvidence()
          Returns the evidence from AuthorizationStatement.
 
クラス com.sun.identity.saml.assertion.AuthorizationDecisionStatementBase から継承されたメソッド
getAction, getDecision, getResource, getStatementType, toString, toString
 
クラス com.sun.identity.saml.assertion.SubjectStatement から継承されたメソッド
getSubject, setSubject
 

コンストラクタの詳細

AuthorizationDecisionStatement

protected AuthorizationDecisionStatement()
Default constructor


AuthorizationDecisionStatement

public AuthorizationDecisionStatement(Element element)
                               throws SAMLException
Constructs an 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.

AuthorizationDecisionStatement

public AuthorizationDecisionStatement(Subject subject,
                                      String resource,
                                      int decision,
                                      List action,
                                      EvidenceBase evidence)
                               throws SAMLException
Constructs an instance of AuthorizationDecisionStatement.

パラメータ:
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.
例外:
SAMLException - if there is an error in the sender.

AuthorizationDecisionStatement

public AuthorizationDecisionStatement(Subject subject,
                                      String resource,
                                      int decision,
                                      List action)
                               throws SAMLException
Constructs a AuthorizationDecisionStatement instance.

パラメータ:
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.
例外:
SAMLException - if there is an error in the sender.
メソッドの詳細

createEvidence

protected EvidenceBase createEvidence(Element evidenceElement)
                               throws SAMLException
クラス AuthorizationDecisionStatementBase の記述:
Creates appropriate Evidence Instance

定義:
クラス AuthorizationDecisionStatementBase 内の createEvidence
パラメータ:
evidenceElement - the Evidence Element
戻り値:
the Evidence Object
例外:
SAMLException

createSubject

protected Subject createSubject(Element subjectElement)
                         throws SAMLException
クラス AuthorizationDecisionStatementBase の記述:
Creates appropriate Subject Instance

定義:
クラス AuthorizationDecisionStatementBase 内の createSubject
パラメータ:
subjectElement - the Subject Element
戻り値:
the Subject Object
例外:
SAMLException

createAction

protected Action createAction(Element actionElement)
                       throws SAMLException
クラス AuthorizationDecisionStatementBase の記述:
Creates appropriate Action Instance

定義:
クラス AuthorizationDecisionStatementBase 内の createAction
パラメータ:
actionElement - the Action Element
戻り値:
the Action Object
例外:
SAMLException

getEvidence

public Evidence getEvidence()
Returns the evidence from AuthorizationStatement.

戻り値:
An Evidence object that the issuer replied on in making decisions.