public class SAML2StringNameIDEncoder extends AbstractAttributeEncoder<org.opensaml.saml2.core.NameID> implements SAML2NameIDEncoder
NameID
of it. Attribute values
are turned into the values for the NameID by invoking the values Object.toString()
method.Constructor and Description |
---|
SAML2StringNameIDEncoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.opensaml.saml2.core.NameID |
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 org.opensaml.saml2.core.NameID encode(BaseAttribute attribute) throws AttributeEncodingException
encode
in interface AttributeEncoder<org.opensaml.saml2.core.NameID>
attribute
- the attribute to encodeAttributeEncodingException
- if unable to successfully encode attributepublic String getNameFormat()
getNameFormat
in interface SAMLNameIdentifierEncoder<org.opensaml.saml2.core.NameID>
public void setNameFormat(String format)
setNameFormat
in interface SAMLNameIdentifierEncoder<org.opensaml.saml2.core.NameID>
format
- name format URI for the NameIDpublic String getNameQualifier()
getNameQualifier
in interface SAMLNameIdentifierEncoder<org.opensaml.saml2.core.NameID>
public void setNameQualifier(String qualifier)
setNameQualifier
in interface SAMLNameIdentifierEncoder<org.opensaml.saml2.core.NameID>
qualifier
- name domain qualifier for the NameIDCopyright © 1999–2014. All rights reserved.