|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.saml.internal.saml11.jaxb20.NameIdentifierType
com.sun.xml.wss.saml.assertion.saml11.jaxb20.NameIdentifier
public class NameIdentifier
The NameIdentifier element specifies a Subject by a combination
of a name and a security domain governing the name of the Subject.
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.NameIdentifierType |
|---|
format, nameQualifier, value |
| Constructor Summary | |
|---|---|
NameIdentifier(NameIdentifierType nameIdType)
|
|
NameIdentifier(String name,
String nameQualifier,
String format)
Constructs a NameQualifier instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.NameIdentifierType |
|---|
setFormat, setNameQualifier, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public static NameIdentifierType fromElement(Element element)
throws SAMLException
NameIdentifer element from an existing XML
block.
nameIdentifierElement - A org.w3c.dom.Element
representing DOM tree for NameIdentifier object
SAMLException - 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()
NameIdentifierType
getValue in interface NameIdentifiergetValue in class NameIdentifierTypeStringpublic String getFormat()
NameIdentifierType
getFormat in interface NameIdentifiergetFormat in class NameIdentifierTypeStringpublic String getNameQualifier()
NameIdentifierType
getNameQualifier in interface NameIdentifiergetNameQualifier in class NameIdentifierTypeString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||