OpenSearch/x-pack/qa/security-example-spi-extension/src
Tim Vernum eeb45b4a74
[Backport 7.x] Add example settings to sample security realm (#63301)
This change adds configurable settings to the `CustomRealm` in the QA
project as the correct declaration and use of settings can be a source
of confusion in custom realms.

The "username" "password" and "roles" are now all configurable, which
demonstrates the use of a simple string setting ("username") a secure
setting ("password") and a more complex list setting ("roles").

Backport of: #62287
2020-10-07 17:40:24 +11:00
..
javaRestTest/java/org/elasticsearch/example [Backport 7.x] Add example settings to sample security realm (#63301) 2020-10-07 17:40:24 +11:00
main [Backport 7.x] Add example settings to sample security realm (#63301) 2020-10-07 17:40:24 +11:00
test/java/org/elasticsearch/example/realm [Backport 7.x] Add example settings to sample security realm (#63301) 2020-10-07 17:40:24 +11:00