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

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

public class AuthenticationQuery
extends SubjectQuery

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


フィールドの概要
protected  String authMethod
           
 
クラス com.sun.identity.saml.protocol.SubjectQuery から継承されたフィールド
subject
 
クラス com.sun.identity.saml.protocol.Query から継承されたフィールド
ATTRIBUTE_QUERY, AUTHENTICATION_QUERY, AUTHORIZATION_DECISION_QUERY, NOT_SUPPORTED_QUERY
 
コンストラクタの概要
protected AuthenticationQuery()
          Default Constructor
  AuthenticationQuery(Element element)
          This constructor is used to build an Authentication Query from a DOM tree that was built from the XML string.
  AuthenticationQuery(Subject subject)
          Constructor.
  AuthenticationQuery(Subject subject, String authMethod)
          Constructor.
 
メソッドの概要
 String getAuthenticationMethod()
          Returns the AuthenticationMethod.
 int getQueryType()
          Returns the type of this query.
 String toString()
          Translates the AuthenticationQuery to an XML document String based on the AuthenticationQuery schema described above.
 String toString(boolean includeNS, boolean declareNS)
          Returns a String representation of the element.
 
クラス com.sun.identity.saml.protocol.SubjectQuery から継承されたメソッド
getSubject
 

フィールドの詳細

authMethod

protected String authMethod
コンストラクタの詳細

AuthenticationQuery

protected AuthenticationQuery()
Default Constructor


AuthenticationQuery

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

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

AuthenticationQuery

public AuthenticationQuery(Subject subject,
                           String authMethod)
                    throws SAMLException
Constructor.

パラメータ:
subject - the Subject of the AuthenticationQuery.
authMethod - the AuthenticationMethod in string format. It could be null.
例外:
SAMLException

AuthenticationQuery

public AuthenticationQuery(Subject subject)
                    throws SAMLException
Constructor.

パラメータ:
subject - The Subject of the AuthenticationQuery.
例外:
SAMLException
メソッドの詳細

getAuthenticationMethod

public String getAuthenticationMethod()
Returns the AuthenticationMethod.

戻り値:
AuthenticationMethod in string format; or null if there is none.

getQueryType

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

定義:
クラス Query 内の getQueryType
戻り値:
Query.AUTHENTICATION_QUERY.

toString

public String toString()
Translates the AuthenticationQuery to an XML document String based on the AuthenticationQuery schema described above.

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

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Returns a String representation of the 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