|
|||||||||
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.SPProvidedNameIdentifier
public class SPProvidedNameIdentifier
This class contains methods to create Service Provider
NameIdentifier
.
Field Summary | |
---|---|
protected int |
minorVersion
|
Constructor Summary | |
---|---|
SPProvidedNameIdentifier(Element spProvidedNameIdentifierElement)
Constructor creates SPProvidedNameIdentifier object
from Document Element. |
|
SPProvidedNameIdentifier(String securityDomain,
String name)
Constructor creates SPProvidedNameIdentifier object. |
|
SPProvidedNameIdentifier(String name,
String nameQualifier,
String format)
Constructor creates SPProvidedNameIdentifier 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 SPProvidedNameIdentifier(String name, String nameQualifier, String format) throws SAMLException
SPProvidedNameIdentifier
object.
name
- nameQualifier
- format
-
SAMLException
- on errors.public SPProvidedNameIdentifier(Element spProvidedNameIdentifierElement) throws FSMsgException
SPProvidedNameIdentifier
object
from Document Element.
spProvidedNameIdentifierElement
- the Document Element.
FSMsgException
- on errors.public SPProvidedNameIdentifier(String securityDomain, String name) throws FSMsgException
SPProvidedNameIdentifier
object.
securityDomain
- the Security Domainname
- the identifier
FSMsgException
- if there is an error .Method Detail |
---|
public void setMinorVersion(int version)
MinorVersion
attribute.
version
- the MinorVersion
attribute.SPProvidedNameIdentifier.getMinorVersion()
public int getMinorVersion()
MinorVersion
attribute.
MinorVersion
attribute.SPProvidedNameIdentifier.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 |