public abstract class AbstractSAML2AttributeEncoder extends AbstractAttributeEncoder<Attribute> implements SAML2AttributeEncoder
Attribute
s.Modifier and Type | Field and Description |
---|---|
protected SAMLObjectBuilder<Attribute> |
attributeBuilder
Builder for SAML 2 attribute XMLObjects.
|
private String |
format
Format of attribute.
|
private String |
friendlyName
Friendly name of attribute.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractSAML2AttributeEncoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFriendlyName()
Gets the human friendly name of the attribute.
|
String |
getNameFormat()
Gets the attribute's name format.
|
protected void |
populateAttribute(Attribute attribute)
Populates the attribute with attribute name, name format, and friendly name information.
|
void |
setFriendlyName(String name)
Sets the human friendly name of the attribute.
|
void |
setNameFormat(String newFormat)
Sets the attribute's name format.
|
getAttributeName, setAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode, getAttributeName, setAttributeName
protected final SAMLObjectBuilder<Attribute> attributeBuilder
private String format
private String friendlyName
protected AbstractSAML2AttributeEncoder()
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 attributeprotected void populateAttribute(Attribute attribute)
attribute
- to populateCopyright © 1999-2012. All Rights Reserved.