com.sun.identity.federation.message
クラス FSSubject

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.Subject
      上位を拡張 com.sun.identity.federation.message.FSSubject
直系の既知のサブクラス:
SessionSubject

public class FSSubject
extends Subject

This class has methods to create Subject object.


フィールドの概要
protected  IDPProvidedNameIdentifier _idpNameIdentifier
           
 
クラス com.sun.identity.saml.assertion.Subject から継承されたフィールド
_nameIdentifier, _subjectConfirmation
 
コンストラクタの概要
protected FSSubject()
          Default Constructor.
  FSSubject(Element subjectElement)
          Constructor creates FSSubject object from the Document Element.
  FSSubject(NameIdentifier nameIdentifier, IDPProvidedNameIdentifier idpNameIdentifier)
          Constructor creates FSSubject object.
  FSSubject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation, IDPProvidedNameIdentifier idpNameIdentifier)
          Constructor creates FSSubject object.
  FSSubject(SubjectConfirmation subjectConfirmation)
          Constructor creates FSSubject object.
 
メソッドの概要
 IDPProvidedNameIdentifier getIDPProvidedNameIdentifier()
          Returns the Identity Provider's NameIdentifier.
 boolean setIDPProvidedNameIdentifier(IDPProvidedNameIdentifier idpNameIdentifier)
          Sets the Identity Provider's NameIdentifier.
 String toXMLString()
          Returns a String representation of this object.
 String toXMLString(boolean includeNS, boolean declareNS)
          Returns a String representation of the Logout Response.
 
クラス com.sun.identity.saml.assertion.Subject から継承されたメソッド
createNameIdentifier, createSubjectConfirmation, equals, getNameIdentifier, getSubjectConfirmation, removeNameIdentifier, removeSubjectConfirmation, setNameIdentifier, setSubjectConfirmation, toString, toString
 

フィールドの詳細

_idpNameIdentifier

protected IDPProvidedNameIdentifier _idpNameIdentifier
コンストラクタの詳細

FSSubject

protected FSSubject()
Default Constructor.


FSSubject

public FSSubject(NameIdentifier nameIdentifier,
                 SubjectConfirmation subjectConfirmation,
                 IDPProvidedNameIdentifier idpNameIdentifier)
          throws FSMsgException,
                 SAMLException
Constructor creates FSSubject object.

パラメータ:
nameIdentifier - the NameIdentifier of the subject.
subjectConfirmation - the SubjectConfirmation object.
idpNameIdentifier - the IDPProvidedNameIdentifier object.
例外:
FSMsgException - if there is an error creating this object.
SAMLException - if there is an error creating this object.

FSSubject

public FSSubject(NameIdentifier nameIdentifier,
                 IDPProvidedNameIdentifier idpNameIdentifier)
          throws FSMsgException,
                 SAMLException
Constructor creates FSSubject object.

パラメータ:
nameIdentifier - the NameIdentifier of the subject.
idpNameIdentifier - the IDPProvidedNameIdentifier object.
例外:
FSMsgException - if there is an error creating this object.
SAMLException - if there is an error creating this object.

FSSubject

public FSSubject(Element subjectElement)
          throws FSMsgException,
                 SAMLException
Constructor creates FSSubject object from the Document Element.

パラメータ:
subjectElement - the Document Element
例外:
FSMsgException - if there is an error creating this object.
SAMLException - if there is an error creating this object.

FSSubject

public FSSubject(SubjectConfirmation subjectConfirmation)
          throws SAMLException
Constructor creates FSSubject object.

パラメータ:
subjectConfirmation - the SubjectConfirmation object.
例外:
SAMLException - if there is an error creating this object.
メソッドの詳細

setIDPProvidedNameIdentifier

public boolean setIDPProvidedNameIdentifier(IDPProvidedNameIdentifier idpNameIdentifier)
Sets the Identity Provider's NameIdentifier.

パラメータ:
idpNameIdentifier - the Identity Provider's NameIdentifier.

getIDPProvidedNameIdentifier

public IDPProvidedNameIdentifier getIDPProvidedNameIdentifier()
Returns the Identity Provider's NameIdentifier.

戻り値:
the Identity Provider's NameIdentifier.

toXMLString

public String toXMLString()
                   throws FSMsgException
Returns a String representation of this object.

戻り値:
a string containing the valid XML for this element
例外:
FSMsgException - if there is an error converting this object ot a string.

toXMLString

public String toXMLString(boolean includeNS,
                          boolean declareNS)
                   throws FSMsgException
Returns a String representation of the Logout Response.

パラメータ:
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
例外:
FSMsgException - if there is an error converting this object ot a string.