|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.Subject com.sun.identity.federation.message.FSSubject
This class FSSubject
is used to construct/parse an ID-FF
Subject element.
Constructor Summary | |
FSSubject(org.w3c.dom.Element subjectElement)
Constructor |
|
FSSubject(NameIdentifier nameIdentifier,
IDPProvidedNameIdentifier idpNameIdentifier)
Constructor |
|
FSSubject(NameIdentifier nameIdentifier,
SubjectConfirmation subjectConfirmation,
IDPProvidedNameIdentifier idpNameIdentifier)
Constructor |
|
FSSubject(SubjectConfirmation subjectConfirmation)
Constructor |
Method Summary | |
IDPProvidedNameIdentifier |
getIDPProvidedNameIdentifier()
Gets IDP provided name identifier |
boolean |
setIDPProvidedNameIdentifier(IDPProvidedNameIdentifier idpNameIdentifier)
Sets IDP provided name identifier. |
java.lang.String |
toXMLString()
Gets a String representation of the object. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Gets a String representation of the object. |
Methods inherited from class com.sun.identity.saml.assertion.Subject |
equals, getNameIdentifier, getSubjectConfirmation, removeNameIdentifier, removeSubjectConfirmation, setNameIdentifier, setSubjectConfirmation, toString, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FSSubject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation, IDPProvidedNameIdentifier idpNameIdentifier) throws FSMsgException, SAMLException
nameIdentifier
- name identifier for the subjectsubjectConfirmation
- subject confirmation objectidpNameIdentifier
- IDP provider name identifier.
SAMLException
- if unable to construct the object
FSMsgException
- if unable to construct the objectpublic FSSubject(NameIdentifier nameIdentifier, IDPProvidedNameIdentifier idpNameIdentifier) throws FSMsgException, SAMLException
nameIdentifier
- name identifier for the subjectidpNameIdentifier
- IDP provider name identifier.
SAMLException
- if unable to construct the object
FSMsgException
- if unable to construct the objectpublic FSSubject(org.w3c.dom.Element subjectElement) throws FSMsgException, SAMLException
subjectElement
- DOM Element representing the Subject.
SAMLException
- if unable to construct the object
FSMsgException
- if unable to construct the objectpublic FSSubject(SubjectConfirmation subjectConfirmation) throws SAMLException
subjectConfirmation
- subject confirmation object
SAMLException
- if unable to construct the objectMethod Detail |
public boolean setIDPProvidedNameIdentifier(IDPProvidedNameIdentifier idpNameIdentifier)
idpNameIdentifier
- IDP provided name identifier to be set.
public IDPProvidedNameIdentifier getIDPProvidedNameIdentifier()
public java.lang.String toXMLString() throws FSMsgException
FSMsgException
- if error occurs.public java.lang.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 error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |