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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
NameID
public NameID(String name,
String nameQualifier,
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(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-2015 Oracle Corporation. All Rights Reserved.