Class NameIdentifier
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.NameIdentifierType
-
- com.sun.xml.wss.saml.assertion.saml11.jaxb20.NameIdentifier
-
- All Implemented Interfaces:
NameIdentifier
public class NameIdentifier extends NameIdentifierType implements NameIdentifier
The NameIdentifier element specifies aSubjectby a combination of a name and a security domain governing the name of theSubject.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.NameIdentifierType
format, nameQualifier, value
-
-
Constructor Summary
Constructors Constructor Description NameIdentifier(NameIdentifierType nameIdType)NameIdentifier(String name, String nameQualifier, String format)Constructs aNameQualifierinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NameIdentifierTypefromElement(Element element)Constructs aNameIdentiferelement from an existing XML block.StringgetFormat()Gets the value of the format property.StringgetNameQualifier()Gets the value of the nameQualifier property.StringgetValue()Gets the value of the value property.-
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.NameIdentifierType
setFormat, setNameQualifier, setValue
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
NameIdentifier
public NameIdentifier(String name, String nameQualifier, String format)
Constructs aNameQualifierinstance.- Parameters:
name- The string representing the name of the SubjectnameQualifier- The security or administrative domain that qualifies the name of theSubject. This is optional could be null or "".format- The syntax used to describe the name of theSubject. This optional, could be null or "".
-
NameIdentifier
public NameIdentifier(NameIdentifierType nameIdType)
-
-
Method Detail
-
fromElement
public static NameIdentifierType fromElement(Element element) throws SAMLException
Constructs aNameIdentiferelement from an existing XML block.- Parameters:
element- Aorg.w3c.dom.Elementrepresenting DOM tree forNameIdentifierobject- Throws:
SAMLException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-
getValue
public String getValue()
Description copied from class:NameIdentifierTypeGets the value of the value property.- Specified by:
getValuein interfaceNameIdentifier- Overrides:
getValuein classNameIdentifierType- Returns:
- possible object is
String
-
getFormat
public String getFormat()
Description copied from class:NameIdentifierTypeGets the value of the format property.- Specified by:
getFormatin interfaceNameIdentifier- Overrides:
getFormatin classNameIdentifierType- Returns:
- possible object is
String
-
getNameQualifier
public String getNameQualifier()
Description copied from class:NameIdentifierTypeGets the value of the nameQualifier property.- Specified by:
getNameQualifierin interfaceNameIdentifier- Overrides:
getNameQualifierin classNameIdentifierType- Returns:
- possible object is
String
-
-