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, setScopeType
getAttributeName, setAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeName, setAttributeName
private final org.slf4j.Logger log
private final SAMLObjectBuilder<Attribute> attributeBuilder
private String namespace
public SAML1ScopedStringAttributeEncoder()
public String getNamespace()
getNamespace
in interface SAML1AttributeEncoder
public void setNamespace(String newNamespace)
setNamespace
in interface SAML1AttributeEncoder
newNamespace
- 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-2012. All Rights Reserved.