public class NameID extends NameIDType implements NameID
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, spNameQualifier, spProvidedID, value| Constructor and Description |
|---|
NameID(NameIDType nameIdType) |
NameID(String name,
String nameQualifier,
String format)
Constructs a
NameQualifier instance. |
| Modifier and Type | Method and Description |
|---|---|
static NameIDType |
fromElement(Element element)
Constructs a
NameIdentifer element from an existing XML
block. |
getFormat, getNameQualifier, getSPNameQualifier, getSPProvidedID, getValue, setFormat, setNameQualifier, setSPNameQualifier, setSPProvidedID, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormat, getNameQualifier, getValueprotected static final Logger log
public NameID(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 NameID(NameIDType nameIdType)
public static NameIDType fromElement(Element element) throws SAMLException
NameIdentifer element from an existing XML
block.element - A org.w3c.dom.Element
representing DOM tree for NameID 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.Copyright © 2005–2018 Oracle Corporation. All rights reserved.