Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

bla bla bla

Implement the function

Data Connectors

Extend AbstractDataConnector and implement:

...

The above are the methods you are most likely to implement.  There are others, consult the javadoc for the Abstract Class and its parent classes for more details.

Attribute Definitions

Extend AbstractAttributeDefinition and implement:

...

The above are the methods you are most likely to implement.  There are others, consult the Javadoc for the abstract Class and its parent classes for more details.

Principal Connectors

Do not implement Principal Connectors.  Principal Connectors are deprecated in V3 and are replaced by Subject Canonicalization Flows.

Parsers

Note
titleSupport Level

The abstract method mentioned below are currently not subject to the Java Version policy (although they are unlikely to change).

...

  1. Be made available to the IdP in the src\main\resources\schema directory of your project
  2. Be available at an http: location
  3. But also have a mapping available in the src\main\resources\META-INF\spring.schemas directory of your project.
  4. (optionally) be overridden in eclipse.

After which bla bla bla

Do I need a Factory Bean?

See this discussion

Data Connector Parsers

Extend AbstractDataConnectorParser and implement:

...

 The above are the methods you have to implement.  There are others, consult the Javadoc for the abstract class and its parent classes for more details.

Attribute Definition Parsers

Extend BaseAttributeDefinitionParser and implement:

...

 The above are the methods you have to implement.  There are others, consult the Javadoc for the abstract class and its parent classes for more details.

Native Spring Configuration

It is possible to configure a data connector in "native" Spring and refer to it (as a dependency) in the proprietary syntax attribute-resolver.xml file.

...

Code Block
languagexml
titleNative Spring Configuration of the Static Data Connector"
<util:list id ="shibboleth.AttributeResolverResources">
    <value>%{idp.home}/conf/attribute-resolver.xml</value>
    <value>%{idp.home}/conf/your-native-spring-dataconnector.xml</value>
</util:list>

Dependencies

Injecting dependencies into a Attribute Resolver Plugin using native spring is possible, but requires understanding how the Attribute Resolver handles Dependencies.

...