Class SPProvidedNameIdentifier
- java.lang.Object
-
- com.sun.identity.saml.assertion.NameIdentifier
-
- com.sun.identity.federation.message.common.SPProvidedNameIdentifier
-
@Deprecated public class SPProvidedNameIdentifier extends NameIdentifier
Deprecated.since 12.0.0This class contains methods to create Service ProviderNameIdentifier.
-
-
Field Summary
Fields Modifier and Type Field Description protected intminorVersionDeprecated.
-
Constructor Summary
Constructors Constructor Description SPProvidedNameIdentifier(String securityDomain, String name)Deprecated.Constructor createsSPProvidedNameIdentifierobject.SPProvidedNameIdentifier(String name, String nameQualifier, String format)Deprecated.Constructor createsSPProvidedNameIdentifierobject.SPProvidedNameIdentifier(Element spProvidedNameIdentifierElement)Deprecated.Constructor createsSPProvidedNameIdentifierobject from Document Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetMinorVersion()Deprecated.Returns theMinorVersionattribute.voidsetMinorVersion(int version)Deprecated.Sets theMinorVersionattribute.StringtoXMLString()Deprecated.Returns the string representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.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
-
-
-
-
Constructor Detail
-
SPProvidedNameIdentifier
public SPProvidedNameIdentifier(String name, String nameQualifier, String format) throws SAMLException
Deprecated.Constructor createsSPProvidedNameIdentifierobject.- Parameters:
name-nameQualifier-format-- Throws:
SAMLException- on errors.
-
SPProvidedNameIdentifier
public SPProvidedNameIdentifier(Element spProvidedNameIdentifierElement) throws FSMsgException
Deprecated.Constructor createsSPProvidedNameIdentifierobject from Document Element.- Parameters:
spProvidedNameIdentifierElement- the Document Element.- Throws:
FSMsgException- on errors.
-
SPProvidedNameIdentifier
public SPProvidedNameIdentifier(String securityDomain, String name) throws FSMsgException
Deprecated.Constructor createsSPProvidedNameIdentifierobject.- Parameters:
securityDomain- the Security Domainname- the identifier- Throws:
FSMsgException- if there is an error .
-
-
Method Detail
-
setMinorVersion
public void setMinorVersion(int version)
Deprecated.Sets theMinorVersionattribute.- Parameters:
version- theMinorVersionattribute.- See Also:
getMinorVersion()
-
getMinorVersion
public int getMinorVersion()
Deprecated.Returns theMinorVersionattribute.- Returns:
- the
MinorVersionattribute. - See Also:
setMinorVersion(int)
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns the string representation of this object.- Returns:
- a string containing the valid
XMLfor this element - Throws:
FSMsgException- if there is an error creatingXMLstring from this object.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Returns the string representation of this object.- 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
XMLfor this element - Throws:
FSMsgException- if there is an error creatingXMLstring from this object.
-
-