com.sun.xml.wss.saml.assertion.saml11.jaxb20
Class NameIdentifier

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.NameIdentifierType
      extended by com.sun.xml.wss.saml.assertion.saml11.jaxb20.NameIdentifier
All Implemented Interfaces:
NameIdentifier

public class NameIdentifier
extends NameIdentifierType
implements 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

log

protected static final Logger log
Constructor Detail

NameIdentifier

public NameIdentifier(String name,
                      String nameQualifier,
                      String format)
Constructs a NameQualifier instance.

Parameters:
name - The string representing the name of the Subject
nameQualifier - 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.

NameIdentifier

public NameIdentifier(NameIdentifierType nameIdType)
Method Detail

fromElement

public static NameIdentifierType fromElement(Element element)
                                      throws SAMLException
Constructs a NameIdentifer element from an existing XML block.

Parameters:
nameIdentifierElement - A org.w3c.dom.Element representing DOM tree for NameIdentifier 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.

getValue

public String getValue()
Description copied from class: NameIdentifierType
Gets the value of the value property.

Specified by:
getValue in interface NameIdentifier
Overrides:
getValue in class NameIdentifierType
Returns:
possible object is String

getFormat

public String getFormat()
Description copied from class: NameIdentifierType
Gets the value of the format property.

Specified by:
getFormat in interface NameIdentifier
Overrides:
getFormat in class NameIdentifierType
Returns:
possible object is String

getNameQualifier

public String getNameQualifier()
Description copied from class: NameIdentifierType
Gets the value of the nameQualifier property.

Specified by:
getNameQualifier in interface NameIdentifier
Overrides:
getNameQualifier in class NameIdentifierType
Returns:
possible object is String


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.