com.sun.identity.liberty.ws.security
クラス ProxySubject

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.Subject
      上位を拡張 com.sun.identity.liberty.ws.security.ProxySubject

public class ProxySubject
extends Subject

The ProxySubject class represents the identity of a proxy, the confirmation key and confirmation obligation the proxy must posess and demonstrate for authentication purpose.


フィールドの概要
 
クラス com.sun.identity.saml.assertion.Subject から継承されたフィールド
_nameIdentifier, _subjectConfirmation
 
コンストラクタの概要
ProxySubject(Element subjectElement)
          Constructs a ProxySubject object from a DOM Element.
ProxySubject(NameIdentifier nameIdentifier)
          Constructs a ProxySubject object from a NameIdentifier object.
ProxySubject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation)
          Constructs a ProxySubject object from a NameIdentifier object and a SubjectConfirmation object.
ProxySubject(SubjectConfirmation subjectConfirmation)
          Constructs a ProxySubject object from a SubjectConfirmation object.
 
メソッドの概要
 boolean equals(ProxySubject subject)
          Checks for equality between this object and the ProxySubject passed down as parameter.
 String toString()
          Creates a String representation of the element.
 String toString(boolean includeNS, boolean declareNS)
          Creates a String representation of the <Subject> element.
 
クラス com.sun.identity.saml.assertion.Subject から継承されたメソッド
createNameIdentifier, createSubjectConfirmation, equals, getNameIdentifier, getSubjectConfirmation, removeNameIdentifier, removeSubjectConfirmation, setNameIdentifier, setSubjectConfirmation
 

コンストラクタの詳細

ProxySubject

public ProxySubject(NameIdentifier nameIdentifier,
                    SubjectConfirmation subjectConfirmation)
             throws SAMLException
Constructs a ProxySubject object from a NameIdentifier object and a SubjectConfirmation object.

パラメータ:
nameIdentifier - NameIdentifier object.
subjectConfirmation - SubjectConfirmation object.
例外:
SAMLException - if nameIdentifier and SubjectConfirmation are null;

ProxySubject

public ProxySubject(NameIdentifier nameIdentifier)
             throws SAMLException
Constructs a ProxySubject object from a NameIdentifier object.

パラメータ:
nameIdentifier - NameIdentifier object.
例外:
SAMLException - if nameIdentifier is null.

ProxySubject

public ProxySubject(Element subjectElement)
             throws SAMLException
Constructs a ProxySubject object from a DOM Element. which has already been built into a DOM.

パラメータ:
subjectElement - An Element representing DOM tree for ProxySubject object.
例外:
SAMLException - if it could not process the Element properly, implying that there is an error in the sender or in the element definition.

ProxySubject

public ProxySubject(SubjectConfirmation subjectConfirmation)
             throws SAMLException
Constructs a ProxySubject object from a SubjectConfirmation object.

パラメータ:
subjectConfirmation - SubjectConfirmation object to be added to the object.
例外:
SAMLException - if subjectConfirmation is null.
メソッドの詳細

equals

public boolean equals(ProxySubject subject)
Checks for equality between this object and the ProxySubject passed down as parameter.

パラメータ:
subject - ProxySubject to be checked
戻り値:
true if the two are EXACTLY equal.

toString

public String toString()
Creates a String representation of the element.

オーバーライド:
クラス Subject 内の toString
戻り値:
A string containing the valid XML for this element. By default name space name is prepended to the element name example <saml:Subject>

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Creates a String representation of the <Subject> element.

オーバーライド:
クラス Subject 内の toString
パラメータ:
includeNS - if true prepends all elements by their Namespace name example <saml:Subject>.
declareNS - if true includes the namespace within the generated XML.
戻り値:
String containing the valid XML for this element.