edu.internet2.middleware.shibboleth.common.attribute.encoding.provider
Class SAML1ScopedStringAttributeEncoder

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<EncodedType>
      extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractScopedAttributeEncoder<org.opensaml.saml1.core.Attribute>
          extended by 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.


Constructor Summary
SAML1ScopedStringAttributeEncoder()
          Constructor.
 
Method Summary
 org.opensaml.saml1.core.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.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractScopedAttributeEncoder
encodeAttributeValues, getScopeAttribute, getScopeDelimiter, getScopeType, setScopeAttribute, setScopeDelimiter, setScopeType
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder
getAttributeName, setAttributeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.internet2.middleware.shibboleth.common.attribute.encoding.AttributeEncoder
getAttributeName, setAttributeName
 

Constructor Detail

SAML1ScopedStringAttributeEncoder

public SAML1ScopedStringAttributeEncoder()
Constructor.

Method Detail

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.