OpenSearch/x-pack/qa
Jay Modi 0cd03d3581
Use RoleRetrievalResult for better caching (#34197)
Security caches the result of role lookups and negative lookups are
cached indefinitely. In the case of transient failures this leads to a
bad experience as the roles could truly exist. The CompositeRolesStore
needs to know if a failure occurred in one of the roles stores in order
to make the appropriate decision as it relates to caching. In order to
provide this information to the CompositeRolesStore, the return type of
methods to retrieve roles has changed to a new class,
RoleRetrievalResult. This class provides the ability to pass back an
exception to the roles store. This exception does not mean that a
request should be failed but instead serves as a signal to the roles
store that missing roles should not be cached and neither should the
combined role if there are missing roles.

As part of this, the negative lookup cache was also changed from an
unbounded cache to a cache with a configurable limit.

Relates #33205
2018-10-15 20:52:54 +01:00
..
audit-tests Switch some x-pack tests to new style Requests (#32500) 2018-08-21 14:48:53 -04:00
core-rest-tests-with-security Rename ranking evaluation `quality_level` to `metric_score` (#32168) 2018-07-23 22:25:02 +02:00
evil-tests Logging: Make ESLoggerFactory package private (#34199) 2018-10-06 09:54:08 -04:00
full-cluster-restart Upgrade remote cluster settings (#33537) 2018-09-12 01:14:43 -04:00
kerberos-tests Remove no-op test (#33861) 2018-09-20 10:45:28 +01:00
multi-cluster-search-security Security: remove wrapping in put user response (#33512) 2018-09-13 14:40:36 -06:00
multi-node [Rollup] Only allow aggregating on multiples of configured interval (#32052) 2018-08-29 17:10:00 -04:00
openldap-tests Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
reindex-tests-with-security Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
rolling-upgrade Security: remove wrapping in put user response (#33512) 2018-09-13 14:40:36 -06:00
rolling-upgrade-basic Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
saml-idp-tests Add support for "authorization_realms" (#33262) 2018-08-31 13:25:27 +10:00
security-client-tests Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
security-example-spi-extension Use RoleRetrievalResult for better caching (#34197) 2018-10-15 20:52:54 +01:00
security-migrate-tests Logging: Drop two deprecated methods (#34055) 2018-09-26 11:20:52 -04:00
security-setup-password-tests APM server monitoring (#32515) 2018-08-27 08:42:40 -04:00
security-tools-tests Remove BouncyCastle dependency from runtime (#32193) 2018-07-21 00:03:58 +03:00
smoke-test-graph-with-security Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
smoke-test-monitoring-with-watcher Switch some watcher tests to new style Requests (#33044) 2018-08-22 14:02:39 -04:00
smoke-test-plugins Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
smoke-test-plugins-ssl Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
smoke-test-security-with-mustache Fix a variety of typos and misspelled words (#32792) 2018-10-03 18:11:38 +01:00
smoke-test-watcher TEST: Mute testMonitorClusterHealth 2018-08-30 14:26:32 -04:00
smoke-test-watcher-with-security Watcher: Ensure that execution triggers properly on initial setup (#33360) 2018-09-21 14:22:34 +02:00
sql SQL: Functions enhancements (OCTET_LENGTH function, order functions alphabetically, RANDOM function docs) (#34101) 2018-10-09 00:20:18 +03:00
third-party Logging: Drop two deprecated methods (#34055) 2018-09-26 11:20:52 -04:00
transport-client-tests Logging: Drop two deprecated methods (#34055) 2018-09-26 11:20:52 -04:00
vagrant Packaging: Remove windows bin files from the tar distribution (#30596) 2018-06-18 19:02:51 +02:00
build.gradle Disable assemble task instead of removing it (#33348) 2018-09-04 07:32:14 +03:00