Allow plugin to ask different privacyIDEA servers. If one privacyIDEA server is down, the next privacyIDEA server should be asked.
Unfortunately we have no state between the requests. So the question is, how we can remember, that one server is down. We probably need to keep track in an external persistant sourse the state of the servers (redis, file...)
Allow plugin to ask different privacyIDEA servers. If one privacyIDEA server is down, the next privacyIDEA server should be asked.
Unfortunately we have no state between the requests. So the question is, how we can remember, that one server is down. We probably need to keep track in an external persistant sourse the state of the servers (redis, file...)
We somehow need to enhance this:
The best thing looks like adding a comma separated list of URLs.
We need to check the capabilites of the LWP:UserAgend. http://search.cpan.org/~ether/libwww-perl-6.31/lib/LWP/UserAgent.pm#post
Either it provides some capabitlites on its own or we need to loop over:
$ua->post()