|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.saml.assertion.Subject
com.sun.identity.federation.message.FSSubject
public class FSSubject
This class has methods to create Subject object.
| Field Summary | |
|---|---|
protected IDPProvidedNameIdentifier |
_idpNameIdentifier
|
| Fields inherited from class com.sun.identity.saml.assertion.Subject |
|---|
_nameIdentifier, _subjectConfirmation |
| Constructor Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.identity.saml.assertion.Subject |
|---|
createNameIdentifier, createSubjectConfirmation, equals, getNameIdentifier, getSubjectConfirmation, removeNameIdentifier, removeSubjectConfirmation, setNameIdentifier, setSubjectConfirmation, toString, toString |
| Field Detail |
|---|
protected IDPProvidedNameIdentifier _idpNameIdentifier
| Constructor Detail |
|---|
protected FSSubject()
public FSSubject(NameIdentifier nameIdentifier,
SubjectConfirmation subjectConfirmation,
IDPProvidedNameIdentifier idpNameIdentifier)
throws FSMsgException,
SAMLException
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.
public FSSubject(NameIdentifier nameIdentifier,
IDPProvidedNameIdentifier idpNameIdentifier)
throws FSMsgException,
SAMLException
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.
public FSSubject(Element subjectElement)
throws FSMsgException,
SAMLException
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.
public FSSubject(SubjectConfirmation subjectConfirmation)
throws SAMLException
FSSubject object.
subjectConfirmation - the SubjectConfirmation object.
SAMLException - if there is an error creating this object.| Method Detail |
|---|
public boolean setIDPProvidedNameIdentifier(IDPProvidedNameIdentifier idpNameIdentifier)
NameIdentifier.
idpNameIdentifier - the Identity Provider's
NameIdentifier.public IDPProvidedNameIdentifier getIDPProvidedNameIdentifier()
NameIdentifier.
NameIdentifier.
public String toXMLString()
throws FSMsgException
FSMsgException - if there is an error converting
this object ot a string.
public String toXMLString(boolean includeNS,
boolean declareNS)
throws FSMsgException
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.
FSMsgException - if there is an error converting
this object ot a string.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||