[DOCS] Fixes link to custom realm examples (#53205)

This commit is contained in:
Lisa Cawley 2020-03-11 09:13:25 -07:00 committed by lcawl
parent 9a21a8abf2
commit c408a34a21
1 changed files with 2 additions and 3 deletions

View File

@ -11,8 +11,7 @@ extension as part of an ordinary elasticsearch plugin.
==== Implementing a custom realm ==== Implementing a custom realm
Sample code that illustrates the structure and implementation of a custom realm Sample code that illustrates the structure and implementation of a custom realm
is provided in the https://github.com/elastic/shield-custom-realm-example[custom-realm-example] is provided in https://github.com/elastic/elasticsearch/tree/{branch}/x-pack/qa/security-example-spi-extension. You can use this code as a starting point for creating your
repository on GitHub. You can use this code as a starting point for creating your
own realm. own realm.
To create a custom realm, you need to: To create a custom realm, you need to:
@ -86,7 +85,7 @@ bin/elasticsearch-plugin install file:///<path>/my-realm-1.0.zip
. Add a realm configuration of the appropriate realm type to `elasticsearch.yml` . Add a realm configuration of the appropriate realm type to `elasticsearch.yml`
under the `xpack.security.authc.realms` namespace. under the `xpack.security.authc.realms` namespace.
You must define your realm within the namespace that matchesto the type defined You must define your realm within the namespace that matches the type defined
by the extension. by the extension.
The options you can set depend on the settings exposed by the custom realm. The options you can set depend on the settings exposed by the custom realm.
If you are configuring multiple realms, you should also explicitly set the If you are configuring multiple realms, you should also explicitly set the