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

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierImpl
          extended by com.sun.xml.wss.saml.assertion.saml11.jaxb10.NameIdentifier
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable, com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifier, com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifierType, Element

public class NameIdentifier
extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierImpl
implements NameIdentifier

The NameIdentifier element specifies a Subject by a combination of a name and a security domain governing the name of the Subject.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierImpl
com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierImpl.Unmarshaller
 
Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierImpl
version
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl
_Format, _NameQualifier, _Value
 
Constructor Summary
NameIdentifier(com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifierType nameIdType)
           
NameIdentifier(String name, String nameQualifier, String format)
          Constructs a NameQualifier instance.
 
Method Summary
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl 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.jaxb10.impl.NameIdentifierImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl
setFormat, setNameQualifier, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifierType
setFormat, setNameQualifier, setValue
 

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(com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifierType nameIdType)
Method Detail

fromElement

public static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl 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 interface: NameIdentifier
Gets the value of the value property.

Specified by:
getValue in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifierType
Overrides:
getValue in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl
Returns:
object is String

getFormat

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

Specified by:
getFormat in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifierType
Overrides:
getFormat in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl
Returns:
object is String

getNameQualifier

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

Specified by:
getNameQualifier in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.NameIdentifierType
Overrides:
getNameQualifier in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.NameIdentifierTypeImpl
Returns:
object is String


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