com.sun.identity.saml.protocol
クラス AuthorizationDecisionQuery

java.lang.Object
  上位を拡張 com.sun.identity.saml.protocol.Query
      上位を拡張 com.sun.identity.saml.protocol.SubjectQuery
          上位を拡張 com.sun.identity.saml.protocol.AuthorizationDecisionQuery

public class AuthorizationDecisionQuery
extends SubjectQuery

This concrete class extends from the abstract base class SubjectQuery. It represents the query for an authorization decision assertion. It corresponds to the <samlp:AuthorizationDecisionQueryType> in the SAML protocol schema.


フィールドの概要
protected  List actions
           
protected  Evidence evidence
           
protected  String resource
           
 
クラス com.sun.identity.saml.protocol.SubjectQuery から継承されたフィールド
subject
 
クラス com.sun.identity.saml.protocol.Query から継承されたフィールド
ATTRIBUTE_QUERY, AUTHENTICATION_QUERY, AUTHORIZATION_DECISION_QUERY, NOT_SUPPORTED_QUERY
 
コンストラクタの概要
protected AuthorizationDecisionQuery()
          Default Constructor
  AuthorizationDecisionQuery(Element element)
          This constructor is used to build an Authorization Decision Query from a DOM tree that was built from the XML string.
  AuthorizationDecisionQuery(Subject theSubject, List theActions, Evidence theEvidence, String theResource)
          Constructor
  AuthorizationDecisionQuery(Subject theSubject, List theActions, String theResource)
          Constructor
 
メソッドの概要
 List getAction()
          Returns the List of Actions.
 Evidence getEvidence()
          Returns the Evidence
 int getQueryType()
          Returns the type of the query.
 String getResource()
          Accessor for the Resource
 String toString()
          This method translates the AuthorizationDecisionQuery to an XML document String based on the AuthorizationDecisionQuery schema.
 String toString(boolean includeNS, boolean declareNS)
          Create a String representation of the samlp:AuthorizationDecisionQuery element.
 
クラス com.sun.identity.saml.protocol.SubjectQuery から継承されたメソッド
getSubject
 

フィールドの詳細

resource

protected String resource

actions

protected List actions

evidence

protected Evidence evidence
コンストラクタの詳細

AuthorizationDecisionQuery

protected AuthorizationDecisionQuery()
Default Constructor


AuthorizationDecisionQuery

public AuthorizationDecisionQuery(Element element)
                           throws SAMLException
This constructor is used to build an Authorization Decision Query from a DOM tree that was built from the XML string.

パラメータ:
element - the DOM tree element which contains an Authorization Decision Query.
例外:
SAMLException - when an error occurs.

AuthorizationDecisionQuery

public AuthorizationDecisionQuery(Subject theSubject,
                                  List theActions,
                                  Evidence theEvidence,
                                  String theResource)
                           throws SAMLException
Constructor

パラメータ:
theSubject - The subject of the query.
theActions - The List of Actions of the query.
theEvidence - The evidence of the query. It could be null when there is no Evidence in the query.
theResource - A string representing the resource of the query.
例外:
SAMLException - when an error occurs.

AuthorizationDecisionQuery

public AuthorizationDecisionQuery(Subject theSubject,
                                  List theActions,
                                  String theResource)
                           throws SAMLException
Constructor

パラメータ:
theSubject - The subject of the query.
theActions - The List of Actions of the query.
theResource - A string representing the resource of the query.
例外:
SAMLException - when an error occurs.
メソッドの詳細

getAction

public List getAction()
Returns the List of Actions.

戻り値:
The Actions included in the query.

getEvidence

public Evidence getEvidence()
Returns the Evidence

戻り値:
the Evidence in the query. A null is returned if there is no Evidence in the query.

getResource

public String getResource()
Accessor for the Resource

戻り値:
A string representing the resource.

getQueryType

public int getQueryType()
Returns the type of the query.

定義:
クラス Query 内の getQueryType
戻り値:
an integer which is Query.AUTHORIZATION_DECISION_QUERY.

toString

public String toString()
This method translates the AuthorizationDecisionQuery to an XML document String based on the AuthorizationDecisionQuery schema.

オーバーライド:
クラス Object 内の toString
戻り値:
An XML String representing the AuthorizationDecisionQuery.

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Create a String representation of the samlp:AuthorizationDecisionQuery element.

定義:
クラス Query 内の toString
パラメータ:
includeNS - Determines whether or not the namespace qualifier is prepended to the Element when converted
declareNS - Determines whether or not the namespace is declared within the Element.
戻り値:
A string containing the valid XML for this element