edu.internet2.middleware.shibboleth.common.attribute.encoding.provider
Class SAML1XMLObjectAttributeEncoder
java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<org.opensaml.saml1.core.Attribute>
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
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.
Method Summary |
org.opensaml.saml1.core.Attribute |
encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML1XMLObjectAttributeEncoder
public SAML1XMLObjectAttributeEncoder()
- Constructor.
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-2010 Internet2. All Rights Reserved.