public class SAML2ScopedStringAttributeEncoder extends AbstractScopedAttributeEncoder<org.opensaml.saml2.core.Attribute> implements SAML2AttributeEncoder
Constructor and Description |
---|
SAML2ScopedStringAttributeEncoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.opensaml.saml2.core.Attribute |
encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations.
|
String |
getFriendlyName()
Gets the human friendly name of the attribute.
|
String |
getNameFormat()
Gets the attribute's name format.
|
void |
setFriendlyName(String name)
Sets the human friendly name of the attribute.
|
void |
setNameFormat(String newFormat)
Sets the attribute's name format.
|
encodeAttributeValues, getScopeAttribute, getScopeDelimiter, getScopeType, setScopeAttribute, setScopeDelimiter, setScopeType
getAttributeName, setAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeName, setAttributeName
public SAML2ScopedStringAttributeEncoder()
public String getNameFormat()
getNameFormat
in interface SAML2AttributeEncoder
public String getFriendlyName()
getFriendlyName
in interface SAML2AttributeEncoder
public void setNameFormat(String newFormat)
setNameFormat
in interface SAML2AttributeEncoder
newFormat
- attribute's name formatpublic void setFriendlyName(String name)
setFriendlyName
in interface SAML2AttributeEncoder
name
- human friendly name of the attributepublic org.opensaml.saml2.core.Attribute encode(BaseAttribute attribute) throws AttributeEncodingException
encode
in interface AttributeEncoder<org.opensaml.saml2.core.Attribute>
attribute
- the attribute to encodeAttributeEncodingException
- if unable to successfully encode attributeCopyright © 1999–2014. All rights reserved.