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, setScopeTypegetAttributeName, setAttributeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeName, setAttributeNamepublic SAML2ScopedStringAttributeEncoder()
public String getNameFormat()
getNameFormat in interface SAML2AttributeEncoderpublic String getFriendlyName()
getFriendlyName in interface SAML2AttributeEncoderpublic void setNameFormat(String newFormat)
setNameFormat in interface SAML2AttributeEncodernewFormat - attribute's name formatpublic void setFriendlyName(String name)
setFriendlyName in interface SAML2AttributeEncodername - 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.