Class OldProvidedNameIdentifier
- java.lang.Object
-
- com.sun.identity.saml.assertion.NameIdentifier
-
- com.sun.identity.federation.message.common.OldProvidedNameIdentifier
-
@Deprecated public class OldProvidedNameIdentifier extends NameIdentifier
Deprecated.since 12.0.0This class has methods to create the originalNameIdentifierobject.
-
-
Field Summary
Fields Modifier and Type Field Description protected intminorVersionDeprecated.
-
Constructor Summary
Constructors Constructor Description OldProvidedNameIdentifier(String securityDomain, String name)Deprecated.Constructor createsOldProvidedNameIdentifierobject.OldProvidedNameIdentifier(String name, String nameQualifier, String format)Deprecated.Constructor to createOldProvidedNameIdentifierobject.OldProvidedNameIdentifier(Element oldProvidedNameIdentifierElement)Deprecated.Constructor to createOldProvidedNameIdentifierObject from Document Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetMinorVersion()Deprecated.Returns theMinorVersion.voidsetMinorVersion(int version)Deprecated.Sets theMinorVersion.StringtoXMLString()Deprecated.Returns a String representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.Returns a 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
-
OldProvidedNameIdentifier
public OldProvidedNameIdentifier(String name, String nameQualifier, String format) throws SAMLException
Deprecated.Constructor to createOldProvidedNameIdentifierobject.- Parameters:
name-nameQualifier-format-- Throws:
SAMLException- on error.
-
OldProvidedNameIdentifier
public OldProvidedNameIdentifier(Element oldProvidedNameIdentifierElement) throws FSMsgException
Deprecated.Constructor to createOldProvidedNameIdentifierObject from Document Element.- Parameters:
oldProvidedNameIdentifierElement- the Document Element.- Throws:
FSMsgException- if object cannot be created.
-
OldProvidedNameIdentifier
public OldProvidedNameIdentifier(String securityDomain, String name) throws FSMsgException
Deprecated.Constructor createsOldProvidedNameIdentifierobject.- Parameters:
securityDomain-name-- Throws:
FSMsgException- it there is an error creating this object.
-
-
Method Detail
-
setMinorVersion
public void setMinorVersion(int version)
Deprecated.Sets theMinorVersion.- Parameters:
version- theMinorVersion.- See Also:
getMinorVersion()
-
getMinorVersion
public int getMinorVersion()
Deprecated.Returns theMinorVersion.- Returns:
- the
MinorVersion. - See Also:
setMinorVersion(int)
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns a String representation of this object.- Returns:
- a String representation of this object.
- Throws:
FSMsgExceptionif- there is an error converting this object to a string.FSMsgException
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Returns a 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
XMLString representation of this object. - Throws:
FSMsgException- if there is an error converting this object to a string.
-
-