public class SAML1StringNameIdentifierEncoder extends AbstractAttributeEncoder<org.opensaml.saml1.core.NameIdentifier> implements SAML1NameIdentifierEncoder
NameIdentifier
of it. Attribute
values are turned into the values for the NameIdentifier by invoking the values Object.toString()
method.Constructor and Description |
---|
SAML1StringNameIdentifierEncoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.opensaml.saml1.core.NameIdentifier |
encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations.
|
String |
getNameFormat()
Gets the name format URI for the NameID.
|
String |
getNameQualifier()
Gets the name domain qualifier for the NameID.
|
void |
setNameFormat(String format)
Sets the name format URI for the NameID.
|
void |
setNameQualifier(String qualifier)
Sets the name domain qualifier for the NameID.
|
getAttributeName, setAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeName, setAttributeName
public SAML1StringNameIdentifierEncoder()
public String getNameFormat()
getNameFormat
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
public void setNameFormat(String format)
setNameFormat
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
format
- name format URI for the NameIDpublic String getNameQualifier()
getNameQualifier
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
public void setNameQualifier(String qualifier)
setNameQualifier
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
qualifier
- name domain qualifier for the NameIDpublic org.opensaml.saml1.core.NameIdentifier encode(BaseAttribute attribute) throws AttributeEncodingException
encode
in interface AttributeEncoder<org.opensaml.saml1.core.NameIdentifier>
attribute
- the attribute to encodeAttributeEncodingException
- if unable to successfully encode attributeCopyright © 1999–2014. All rights reserved.