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

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<org.opensaml.saml1.core.Attribute>
      extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
          extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.SAML1XMLObjectAttributeEncoder
All Implemented Interfaces:
AttributeEncoder<org.opensaml.saml1.core.Attribute>, SAML1AttributeEncoder, XMLObjectAttributeEncoder<org.opensaml.saml1.core.Attribute>

public class SAML1XMLObjectAttributeEncoder
extends AbstractSAML1AttributeEncoder

A SAML 1 encoder that uses XMLObject as the value for attribute values.


Field Summary
 
Fields inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
attributeBuilder
 
Constructor Summary
SAML1XMLObjectAttributeEncoder()
          Constructor.
 
Method Summary
 org.opensaml.saml1.core.Attribute encode(BaseAttribute attribute)
          Enocdes the attribute into a protocol specific representations.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
getNamespace, populateAttribute, setNamespace
 
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

SAML1XMLObjectAttributeEncoder

public SAML1XMLObjectAttributeEncoder()
Constructor.

Method Detail

encode

public org.opensaml.saml1.core.Attribute encode(BaseAttribute attribute)
                                         throws AttributeEncodingException
Enocdes the attribute into a protocol specific representations.

Parameters:
attribute - the attribute to encode
Returns:
the Object the attribute was encoded into
Throws:
AttributeEncodingException - if unable to successfully encode attribute


Copyright © 2006-2009 Internet2. All Rights Reserved.