OpenSearch/x-pack/qa/security-example-spi-extension/src
Tim Vernum 33c29fb5a3
Support Client and RoleMapping in custom Realms (#50950)
Previously custom realms were limited in what services and components
they had easy access to. It was possible to work around this because a
security extension is packaged within a Plugin, so there were ways to
store this components in static/SetOnce variables and access them from
the realm, but those techniques were fragile, undocumented and
difficult to discover.

This change includes key services as an argument to most of the methods
on SecurityExtension so that custom realm / role provider authors can
have easy access to them.

Backport of: #50534
2020-01-14 15:26:41 +11:00
..
main Support Client and RoleMapping in custom Realms (#50950) 2020-01-14 15:26:41 +11:00
test/java/org/elasticsearch/example Support Client and RoleMapping in custom Realms (#50950) 2020-01-14 15:26:41 +11:00