|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.NameIdentifier com.sun.identity.federation.message.common.IDPProvidedNameIdentifier
public class IDPProvidedNameIdentifier
This class has methods to create the NameIdentifier
object provided by the Identity Provider.
Field Summary | |
---|---|
protected int |
minorVersion
|
Constructor Summary | |
---|---|
IDPProvidedNameIdentifier(Element idpProvidedNameIdentifierElement)
Constructor creates IDPProvidedNameIdentifier object
from Document Element. |
|
IDPProvidedNameIdentifier(String securityDomain,
String name)
Constructor creates IDPProvidedNameIdentifier object. |
|
IDPProvidedNameIdentifier(String name,
String nameQualifier,
String format)
Constructor creates IDPProvidedNameIdentifier object. |
Method Summary | |
---|---|
int |
getMinorVersion()
Returns the MinorVersion attribute. |
void |
setMinorVersion(int version)
Sets the MinorVersion attribute. |
String |
toXMLString()
Returns the string representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns the string representation of this object. |
Methods inherited from class com.sun.identity.saml.assertion.NameIdentifier |
---|
equals, getFormat, getName, getNameQualifier, setFormat, setName, setNameQualifier, toString, toString |
Field Detail |
---|
protected int minorVersion
Constructor Detail |
---|
public IDPProvidedNameIdentifier(String name, String nameQualifier, String format) throws SAMLException
IDPProvidedNameIdentifier
object.
name
- the Identity Provider name.nameQualifier
- format
-
SAMLException
- on error.public IDPProvidedNameIdentifier(Element idpProvidedNameIdentifierElement) throws FSMsgException
IDPProvidedNameIdentifier
object
from Document Element.
idpProvidedNameIdentifierElement
- the Document Element.
FSMsgException
- on error.public IDPProvidedNameIdentifier(String securityDomain, String name) throws FSMsgException
IDPProvidedNameIdentifier
object.
securityDomain
- name
-
FSMsgException
- on error.Method Detail |
---|
public void setMinorVersion(int version)
MinorVersion
attribute.
version
- the MinorVersion
attribute.IDPProvidedNameIdentifier.getMinorVersion()
public int getMinorVersion()
MinorVersion
attribute.
MinorVersion
attribute.IDPProvidedNameIdentifier.setMinorVersion(int)
public String toXMLString() throws FSMsgException
XML
for this element
FSMsgException
- if there is an error creating
XML
string from this object.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.
XML
for this element
FSMsgException
- if there is an error creating
XML
string from this object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |