elasticsearch/plugins/examples/security-authorization-engine
Tamara Braun 35584d9fdd
Make RBACEngine.resolveAuthorizedIndicesFromRole Return Set for Lookups (#72598)
This changes the result of AuthorizationEngine.loadAuthorizedIndices
(and dependent methods) from List<String> to Set<String>.

This has the following performance benefits:
1. `contains` checks are faster
2.  RBACEngine always formed this collections as a Set, so this
    change reduces unnecessary copying.

An additional performance improvement was added when resolve authorized
index names for data streams.
2021-05-26 16:25:53 +10:00
..
src Make RBACEngine.resolveAuthorizedIndicesFromRole Return Set for Lookups (#72598) 2021-05-26 16:25:53 +10:00
build.gradle Remove internal build logic from public build tool plugins (#72470) 2021-05-06 14:02:35 +02:00