The Shibboleth V2 IdP and SP software have reached End of Life and are no longer supported. This documentation is available for historical purposes only. See the IDP v4 and SP v3 wiki spaces for current documentation on the supported versions.

IdPDevExtAttribEnc

Attribute Encoder Extensions

This information is meant to be used in conjunction with the Creating Custom IdP Extensions - General Overview guide.

Classes, Schema Types, and Schema Files

  • Class to extend:
    • For SAML 1 Attribute Encoders -
      edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
    • For SAML 2 Attribute Encoders -
      edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML2AttributeEncoder
    • For all others (including SAML 1 and SAML 2 name ID encoders) -
      edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder
  • Bean Definition Parser to extend:
    edu.internet2.middleware.shibboleth.common.config.attribute.encoding.BaseAttributeEncoderBeanDefinitionParser
  • Location of schema file to import:
    /schema/shibboleth-2.0-attribute-resolver.xsd
  • Namespace containing schema type to extend:
    urn:mace:shibboleth:2.0:resolver
  • Complex type to extend:
    BaseAttributeEncoderType