public class NameIdentifier extends NameIdentifierType implements NameIdentifier
Subject by a combination
of a name and a security domain governing the name of the Subject.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
format, nameQualifier, value| Constructor and Description |
|---|
NameIdentifier(NameIdentifierType nameIdType) |
NameIdentifier(String name,
String nameQualifier,
String format)
Constructs a
NameQualifier instance. |
| Modifier and Type | Method and Description |
|---|---|
static NameIdentifierType |
fromElement(Element element)
Constructs a
NameIdentifer element from an existing XML
block. |
String |
getFormat()
Gets the value of the format property.
|
String |
getNameQualifier()
Gets the value of the nameQualifier property.
|
String |
getValue()
Gets the value of the value property.
|
setFormat, setNameQualifier, setValueprotected static final Logger log
public NameIdentifier(String name, String nameQualifier, String format)
NameQualifier instance.name - The string representing the name of the SubjectnameQualifier - The security or administrative domain that qualifies
the name of the Subject. This is optional could be
null or "".format - The syntax used to describe the name of the
Subject. This optional, could be null or "".SAMLException - if the input has an error.public NameIdentifier(NameIdentifierType nameIdType)
public static NameIdentifierType fromElement(Element element) throws SAMLException
NameIdentifer element from an existing XML
block.element - A org.w3c.dom.Element
representing DOM tree for NameIdentifier objectSAMLException - if it could not process the
org.w3c.dom.Element properly, implying that there
is an error in the sender or in the element definition.public String getValue()
NameIdentifierTypegetValue in interface NameIdentifiergetValue in class NameIdentifierTypeStringpublic String getFormat()
NameIdentifierTypegetFormat in interface NameIdentifiergetFormat in class NameIdentifierTypeStringpublic String getNameQualifier()
NameIdentifierTypegetNameQualifier in interface NameIdentifiergetNameQualifier in class NameIdentifierTypeStringCopyright © 2005–2018 Oracle Corporation. All rights reserved.