...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Note |
---|
This page is being rewritten as part of the individual connectors. |
The LDAPDataConnector, RDBMSDataConnector and StoredIdConnector can be configured using native Spring syntax. This allows for a much greater level of control of the subsidiary components. This is done via the springResources
attribute in place of the various existing attributes and elements used otherwise.
...
The file specified by "springResources" is a standard Spring bean file. Once the file has been parsed, suitable beans are injected into the Data Connector (LDAP or RDBMS) as required. Note that in V3.0 however that the included spring file does not inherit properties (or definitions) from the "parent" configurations (Fixed in V3.1)
Formally, the type required by the bean 'setter' is used to find a bean of the correct type in the Spring Bean file. The list of setter methods is available for the and the as well as common methods from the
In practice, for V3.0 The LDAP Data Connector may be supplied with beans of the following type:
- org.ldaptive.ConnectionFactory
- org.ldaptive.SearchExecutor
- com.google.common.cache.Cache<String,Map<String,IdPAttribute>>
- Validator
- MappingStrategy <SearchResult>
- ExecutableSearchBuilder<ExecutableSearchFilter>
And the RDBMS Data Connector may be supplied with beans of the following type
- DataSource
- ExecutableSearchBuilder<ExecutableStatement >
- com.google.common.cache.Cache<String,Map<String,IdPAttribute>>
- Validator
- MappingStrategy <ResultSet>
The Stored Id Data Connector, should be supplied with a bean of type DataSource
Other data connector types ignore the springResources
attribute.