com.sun.xml.wss.saml.assertion.saml20.jaxb20
Class NameID
java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.NameIDType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.NameID
- All Implemented Interfaces:
- NameID
public class NameID
- extends NameIDType
- implements NameID
The NameID element specifies a Subject by a combination
of a name and a security domain governing the name of the Subject.
|
Field Summary |
protected static java.util.logging.Logger |
log
|
|
Constructor Summary |
NameID(NameIDType nameIdType)
|
NameID(java.lang.String name,
java.lang.String nameQualifier,
java.lang.String format)
Constructs a NameQualifier instance. |
|
Method Summary |
static NameIDType |
fromElement(org.w3c.dom.Element element)
Constructs a NameIdentifer element from an existing XML
block. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
NameID
public NameID(java.lang.String name,
java.lang.String nameQualifier,
java.lang.String format)
- Constructs a
NameQualifier instance.
- Parameters:
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 "".
- Throws:
SAMLException - if the input has an error.
NameID
public NameID(NameIDType nameIdType)
fromElement
public static NameIDType fromElement(org.w3c.dom.Element element)
throws SAMLException
- Constructs a
NameIdentifer element from an existing XML
block.
- Parameters:
NameIDElement - A org.w3c.dom.Element
representing DOM tree for NameID object
- Throws:
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.
Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.