public class SAML1ScopedStringAttributeEncoder extends AbstractScopedAttributeEncoder<Attribute> implements SAML1AttributeEncoder
| Modifier and Type | Field and Description |
|---|---|
private SAMLObjectBuilder<Attribute> |
attributeBuilder
Attribute factory.
|
private org.slf4j.Logger |
log
Class logger.
|
private String |
namespace
Namespace of attribute.
|
| Constructor and Description |
|---|
SAML1ScopedStringAttributeEncoder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations.
|
String |
getNamespace()
Gets the attribute namespace.
|
void |
setNamespace(String newNamespace)
Sets the attribute namespace.
|
encodeAttributeValues, getScopeAttribute, getScopeDelimiter, getScopeType, setScopeAttribute, setScopeDelimiter, setScopeTypegetAttributeName, setAttributeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeName, setAttributeNameprivate final org.slf4j.Logger log
private final SAMLObjectBuilder<Attribute> attributeBuilder
private String namespace
public SAML1ScopedStringAttributeEncoder()
public String getNamespace()
getNamespace in interface SAML1AttributeEncoderpublic void setNamespace(String newNamespace)
setNamespace in interface SAML1AttributeEncodernewNamespace - attribute namespacepublic Attribute encode(BaseAttribute attribute) throws AttributeEncodingException
encode in interface AttributeEncoder<Attribute>attribute - the attribute to encodeAttributeEncodingException - if unable to successfully encode attributeCopyright © 1999-2015. All Rights Reserved.