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

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<org.opensaml.saml2.core.Attribute>
      extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML2AttributeEncoder
          extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.SAML2StringAttributeEncoder
All Implemented Interfaces:
AttributeEncoder<org.opensaml.saml2.core.Attribute>, SAML2AttributeEncoder, XMLObjectAttributeEncoder<org.opensaml.saml2.core.Attribute>

public class SAML2StringAttributeEncoder
extends AbstractSAML2AttributeEncoder

Implementation of SAML 2.0 attribute encoder.


Field Summary
 
Fields inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML2AttributeEncoder
attributeBuilder
 
Constructor Summary
SAML2StringAttributeEncoder()
          Constructor.
 
Method Summary
 org.opensaml.saml2.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.AbstractSAML2AttributeEncoder
getFriendlyName, getNameFormat, populateAttribute, setFriendlyName, setNameFormat
 
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

SAML2StringAttributeEncoder

public SAML2StringAttributeEncoder()
Constructor.

Method Detail

encode

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

Parameters:
attribute - the attribute to encode
Returns:
the Object the attribute was encoded into


Copyright © 2006-2010 Internet2. All Rights Reserved.