Class FSSubject
- java.lang.Object
-
- com.sun.identity.saml.assertion.Subject
-
- com.sun.identity.federation.message.FSSubject
-
- Direct Known Subclasses:
SessionSubject
@Deprecated public class FSSubject extends Subject
Deprecated.since 12.0.0This class has methods to createSubjectobject.
-
-
Field Summary
Fields Modifier and Type Field Description protected IDPProvidedNameIdentifier_idpNameIdentifierDeprecated.-
Fields inherited from class com.sun.identity.saml.assertion.Subject
_nameIdentifier, _subjectConfirmation
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFSSubject()Deprecated.Default Constructor.FSSubject(NameIdentifier nameIdentifier, IDPProvidedNameIdentifier idpNameIdentifier)Deprecated.Constructor createsFSSubjectobject.FSSubject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation, IDPProvidedNameIdentifier idpNameIdentifier)Deprecated.Constructor createsFSSubjectobject.FSSubject(SubjectConfirmation subjectConfirmation)Deprecated.Constructor createsFSSubjectobject.FSSubject(Element subjectElement)Deprecated.Constructor createsFSSubjectobject from the Document Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IDPProvidedNameIdentifiergetIDPProvidedNameIdentifier()Deprecated.Returns the Identity Provider'sNameIdentifier.booleansetIDPProvidedNameIdentifier(IDPProvidedNameIdentifier idpNameIdentifier)Deprecated.Sets the Identity Provider'sNameIdentifier.StringtoXMLString()Deprecated.Returns a String representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.Returns a String representation of the Logout Response.-
Methods inherited from class com.sun.identity.saml.assertion.Subject
createNameIdentifier, createSubjectConfirmation, equals, getNameIdentifier, getSubjectConfirmation, removeNameIdentifier, removeSubjectConfirmation, setNameIdentifier, setSubjectConfirmation, toString, toString
-
-
-
-
Field Detail
-
_idpNameIdentifier
protected IDPProvidedNameIdentifier _idpNameIdentifier
Deprecated.
-
-
Constructor Detail
-
FSSubject
protected FSSubject()
Deprecated.Default Constructor.
-
FSSubject
public FSSubject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation, IDPProvidedNameIdentifier idpNameIdentifier) throws FSMsgException, SAMLException
Deprecated.Constructor createsFSSubjectobject.- Parameters:
nameIdentifier- theNameIdentifierof the subject.subjectConfirmation- theSubjectConfirmationobject.idpNameIdentifier- theIDPProvidedNameIdentifierobject.- Throws:
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
Deprecated.Constructor createsFSSubjectobject.- Parameters:
nameIdentifier- theNameIdentifierof the subject.idpNameIdentifier- theIDPProvidedNameIdentifierobject.- Throws:
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
Deprecated.Constructor createsFSSubjectobject from the Document Element.- Parameters:
subjectElement- the Document Element- Throws:
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
Deprecated.Constructor createsFSSubjectobject.- Parameters:
subjectConfirmation- theSubjectConfirmationobject.- Throws:
SAMLException- if there is an error creating this object.
-
-
Method Detail
-
setIDPProvidedNameIdentifier
public boolean setIDPProvidedNameIdentifier(IDPProvidedNameIdentifier idpNameIdentifier)
Deprecated.Sets the Identity Provider'sNameIdentifier.- Parameters:
idpNameIdentifier- the Identity Provider'sNameIdentifier.
-
getIDPProvidedNameIdentifier
public IDPProvidedNameIdentifier getIDPProvidedNameIdentifier()
Deprecated.Returns the Identity Provider'sNameIdentifier.- Returns:
- the Identity Provider's
NameIdentifier.
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns a String representation of this object.- Returns:
- a string containing the valid XML for this element
- Throws:
FSMsgException- if there is an error converting this object ot a string.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Returns a String representation of the Logout Response.- Parameters:
includeNS- : Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- : Determines whether or not the namespace is declared within the Element.- Returns:
- a string containing the valid XML for this element
- Throws:
FSMsgException- if there is an error converting this object ot a string.
-
-