...
Implement the function
Data Connectors
Extend AbstractDataConnector and implement:
Method | Required | Purpose |
---|---|---|
doDataConnectorResolve | Yes | Return a newly created and fully populated Map<String, IdPAttribute> |
doInitialize | No | To check any preconditions before the resolver is first used Ensure that there is a call to |
doDestroy | No | To tear down any structures when the Data Connector is finished with (due to shutdown or reload) Ensure that there is a call to |
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:
Method | Required | Purpose |
---|---|---|
doAttributeDefinitionResolve | Yes | Return a newly created and fully populated IdPAttribute |
doInitialize | No | To check any preconditions before the resolver is first used. Ensure that there is a call to |
doDestroy | No | To tear down any structures when the resolver is finished with (due to shutdown or reload) Ensure that there is a call to |
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.
...
In order to write a parser you must first devise the schema to describe the plugin. This schema should
Be made available to the IdP in the src\main\resources\schema directory of your project
Be available at an http: location
But also have a mapping available in the src\main\resources\META-INF\spring.schemas directory of your project.
(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:
Method | Required | Purpose |
---|---|---|
getNativeBeanClass | Yes | Return the class that your Data Connector Implements (or an appropriate Factory Bean) |
doV2Parse | Yes | To parse your native Schema and populate the Data Connector or its Factory Bean |
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:
Method | Required | Purpose |
---|---|---|
getBeanClass | Yes | Return the class that your Attribute Resolver Implements (or an appropriate Factory Bean) |
doParse | Yes | To parse your native Schema and populate the Data Connector or its Factory Bean Ensure that this methods starts with a call to |
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.
...