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.
...
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.