edu.internet2.middleware.shibboleth.common.attribute.encoding.provider
Class SAML1ScopedStringAttributeEncoder
java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<EncodedType>
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractScopedAttributeEncoder<org.opensaml.saml1.core.Attribute>
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.SAML1ScopedStringAttributeEncoder
- All Implemented Interfaces:
- AttributeEncoder<org.opensaml.saml1.core.Attribute>, SAML1AttributeEncoder, XMLObjectAttributeEncoder<org.opensaml.saml1.core.Attribute>
public class SAML1ScopedStringAttributeEncoder
- extends AbstractScopedAttributeEncoder<org.opensaml.saml1.core.Attribute>
- implements SAML1AttributeEncoder
Implementation of SAML 1.X scoped attribute encoder.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML1ScopedStringAttributeEncoder
public SAML1ScopedStringAttributeEncoder()
- Constructor.
getNamespace
public String getNamespace()
- Gets the attribute namespace.
- Specified by:
getNamespace
in interface SAML1AttributeEncoder
- Returns:
- attribute namespace
setNamespace
public void setNamespace(String newNamespace)
- Sets the attribute namespace.
- Specified by:
setNamespace
in interface SAML1AttributeEncoder
- Parameters:
newNamespace
- attribute namespace
encode
public org.opensaml.saml1.core.Attribute encode(BaseAttribute attribute)
throws AttributeEncodingException
- Enocdes the attribute into a protocol specific representations.
- Specified by:
encode
in interface AttributeEncoder<org.opensaml.saml1.core.Attribute>
- Parameters:
attribute
- the attribute to encode
- Returns:
- the Object the attribute was encoded into
- Throws:
AttributeEncodingException
- if unable to successfully encode attribute
Copyright © 2006-2008 Internet2. All Rights Reserved.