public class SAML1StringNameIdentifierEncoder extends AbstractAttributeEncoder<NameIdentifier> implements SAML1NameIdentifierEncoder
NameIdentifier of it. Attribute
values are turned into the values for the NameIdentifier by invoking the values Object.toString() method.| Modifier and Type | Field and Description |
|---|---|
private SAMLObjectBuilder<NameIdentifier> |
identifierBuilder
Identifier builder.
|
private String |
nameFormat
Format of the identifier.
|
private String |
nameQualifier
Name qualifier for the identifier.
|
| Constructor and Description |
|---|
SAML1StringNameIdentifierEncoder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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, setAttributeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeName, setAttributeNameprivate SAMLObjectBuilder<NameIdentifier> identifierBuilder
private String nameFormat
private String nameQualifier
public SAML1StringNameIdentifierEncoder()
public String getNameFormat()
getNameFormat in interface SAMLNameIdentifierEncoder<NameIdentifier>public void setNameFormat(String format)
setNameFormat in interface SAMLNameIdentifierEncoder<NameIdentifier>format - name format URI for the NameIDpublic String getNameQualifier()
getNameQualifier in interface SAMLNameIdentifierEncoder<NameIdentifier>public void setNameQualifier(String qualifier)
setNameQualifier in interface SAMLNameIdentifierEncoder<NameIdentifier>qualifier - name domain qualifier for the NameIDpublic NameIdentifier encode(BaseAttribute attribute) throws AttributeEncodingException
encode in interface AttributeEncoder<NameIdentifier>attribute - the attribute to encodeAttributeEncodingException - if unable to successfully encode attributeCopyright © 1999-2015. All Rights Reserved.