Class Subject
- java.lang.Object
-
- com.tivoli.am.fim.trustserver.sts.uuser.Subject
-
public class Subject extends java.lang.Object
Represents an STS Subject element of the STSUniversalUser/AdditionalAttributeStatement transform to and from XML.- Version:
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_java_copyright
static java.lang.String
_java_sourceCodeID
-
Constructor Summary
Constructors Constructor Description Subject(java.lang.String name, java.lang.String format)
Constructor from a name and SAML name format
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFormat()
get the value of the format attribute that will be used in creation of the SAML 1.x NameIdentifier formatjava.lang.String
getName()
Get the attribute that is to b used as the value of the SAML 1.x NameIdentifier element.void
setFormat(java.lang.String type)
Set the value of the format attribute from the SAML 1.x NameIdentifier.void
setName(java.lang.String name)
Set the value of the name attributeorg.w3c.dom.Element
toXml(org.w3c.dom.Document owner)
Returns an XML representation of this Subject as an org.w3c.dom.Element object.
-
-
-
Field Detail
-
_java_sourceCodeID
public static final java.lang.String _java_sourceCodeID
- See Also:
- Constant Field Values
-
_java_copyright
public static final java.lang.String _java_copyright
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the attribute that is to b used as the value of the SAML 1.x NameIdentifier element.- Returns:
- the name of this Subject.
-
setName
public void setName(java.lang.String name)
Set the value of the name attribute- Parameters:
name
- the name for this Subject object as a String.
-
getFormat
public java.lang.String getFormat()
get the value of the format attribute that will be used in creation of the SAML 1.x NameIdentifier format- Returns:
- the format of this Subject object as a String.
-
setFormat
public void setFormat(java.lang.String type)
Set the value of the format attribute from the SAML 1.x NameIdentifier.- Parameters:
type
- the value of the format attribute from the SAML 1.x NameIdentifier.
-
toXml
public org.w3c.dom.Element toXml(org.w3c.dom.Document owner)
Returns an XML representation of this Subject as an org.w3c.dom.Element object.- Parameters:
owner
- the Document to add this Subject to.- Returns:
- this Subject object as an org.w3c.dom.Element.
-
-