OpenSearch/plugin
Jay Modi be773363c9 Do not fail requests on exceptions from native roles store (elastic/x-pack-elasticsearch#2857)
This commit changes the handling of exceptions when retrieving roles from the native roles store.
Previously, exceptions would have caused the request to terminate and the exception would be
sent back to the user. This makes for a bad experience when a cluster hasn't been upgraded to the
latest index format and anonymous access is enabled with a native role as all requests without
preemptive basic authentication would result in an exception. The change here is to allow the
request to continue processing. Once the security index is up to date, the roles cache is cleared
so that the native roles can be picked up.

relates elastic/x-pack-elasticsearch#2686

Original commit: elastic/x-pack-elasticsearch@ef5149140f
2017-11-06 10:27:56 -07:00
..
bin/x-pack Usability enhancements for certificate generation (elastic/x-pack-elasticsearch#2561) 2017-10-30 13:08:31 +11:00
bwc Enable BWC testing against other remotes 2017-10-25 22:39:58 -04:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
forbidden Fix LDAP Authc connections deadlock (elastic/x-pack-elasticsearch#2587) 2017-10-09 13:06:12 +03:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Update BouncyCastle version from 1.55 to 1.58 (elastic/x-pack-elasticsearch#2548) 2017-09-21 11:30:42 +03:00
ml-cpp-snapshot [BUILD] Make AWS error message more informative 2017-09-14 14:46:48 +01:00
src Do not fail requests on exceptions from native roles store (elastic/x-pack-elasticsearch#2857) 2017-11-06 10:27:56 -07:00
build.gradle Fix LDAP Authc connections deadlock (elastic/x-pack-elasticsearch#2587) 2017-10-09 13:06:12 +03:00