com.sun.identity.saml.assertion
クラス AttributeStatement

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.Statement
      上位を拡張 com.sun.identity.saml.assertion.SubjectStatement
          上位を拡張 com.sun.identity.saml.assertion.AttributeStatement

public class AttributeStatement
extends SubjectStatement

The AttributeStatement element supplies a statement by the issuer that the specified subject is associated with the specified attributes.


フィールドの概要
 
クラス com.sun.identity.saml.assertion.SubjectStatement から継承されたフィールド
_subject
 
クラス com.sun.identity.saml.assertion.Statement から継承されたフィールド
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT, NOT_SUPPORTED
 
コンストラクタの概要
protected AttributeStatement()
          Dafault constructor
  AttributeStatement(Element element)
          Constructs an AttributStatement element from an existing XML block
  AttributeStatement(Subject subject, List attribute)
          Constructs an instance of AttributeStatement.
 
メソッドの概要
protected  Attribute createAttribute(Element attributeElement)
           
protected  Subject createSubject(Element subjectElement)
           
 List getAttribute()
          Gets attribute from Attribute statement
 int getStatementType()
          Gets the type of statement.
 String toString()
          Creates a String representation of the attribute statement
 String toString(boolean includeNS, boolean declareNS)
          Returns a String representation of the Attribute statement.
 
クラス com.sun.identity.saml.assertion.SubjectStatement から継承されたメソッド
getSubject, setSubject
 

コンストラクタの詳細

AttributeStatement

protected AttributeStatement()
Dafault constructor


AttributeStatement

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

AttributeStatement

public AttributeStatement(Subject subject,
                          List attribute)
                   throws SAMLException
Constructs an instance of AttributeStatement.

パラメータ:
subject - (required) A Subject object.
attribute - (one or more) A List of Attribute objects.
例外:
SAMLException - if there is an error in the sender.
メソッドの詳細

getAttribute

public List getAttribute()
Gets attribute from Attribute statement

戻り値:
A list of Attributes contained in this statement

getStatementType

public int getStatementType()
Gets the type of statement.

定義:
クラス Statement 内の getStatementType
戻り値:
an Integer which is Statement.ATTRIBUTE_STATEMENT.

toString

public String toString()
Creates a String representation of the attribute statement

オーバーライド:
クラス Object 内の toString
戻り値:
A string representation of the AttributeStatement element

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Returns a String representation of the Attribute statement.

定義:
クラス SubjectStatement 内の 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 representation of the <saml:AttributeStatement> element.

createSubject

protected Subject createSubject(Element subjectElement)
                         throws SAMLException
例外:
SAMLException

createAttribute

protected Attribute createAttribute(Element attributeElement)
                             throws SAMLException
例外:
SAMLException