Benoit Tellier created JAMES-3928:
-------------------------------------
Summary: ReadOnlyUsersRepository: Master slave set up
Key: JAMES-3928
URL: https://issues.apache.org/jira/browse/JAMES-3928
Project: James Server
Issue Type: New Feature
Components: ldap, UsersStore & UsersRepository
Affects Versions: master
Reporter: Benoit Tellier
Fix For: 3.9.0
h3. Why?
High availability requires connecting to several servers.
Today James LDAP connection is single point.
To have HA for LDAP component we need to support connecting to several LDAP
server.
h3. How?
In usersreporitory.xml configuration set a list of fallback ldap URLs.
Use it to instanciate a LDAPConnectionPool based on a FailoverServerSet. Other
connection options (bind DN, SSL, more?) needs to be preserved.
h3. Acceptace criteria
In a test, start ldap1 ldap2.
Configure the ldap users repository with ldap1 as prmary, fallback to ldap2.
Switch off ldap1, ensure that data gets retrieved from LDAP2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]