# X-pack custom security realm dependencies

**URL:** <https://discuss.elastic.co/t/x-pack-custom-security-realm-dependencies/102891>\
**Category:** Elasticsearch\
**Created:** [October 5, 2017, 6:22pm UTC](https://discuss.elastic.co/t/x-pack-custom-security-realm-dependencies/102891 "2017-10-05T18:22:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asanderson](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@asanderson](https://discuss.elastic.co/u/asanderson)\
**Post date:** [October 5, 2017, 6:22pm UTC](https://discuss.elastic.co/t/x-pack-custom-security-realm-dependencies/102891/1 "2017-10-05T18:22:28Z")

</div>

Looking at the [shield-custom-realm-example build.gradle](https://github.com/elastic/shield-custom-realm-example/blob/6.0/build.gradle) dependencies, it references "org.elasticsearch.plugin:x-pack-api:${version}", but looking at the x-pack-6.0.0-rc1 distro, all I see is x-pack-6.0.0-rc1.jar. Is there actually another x-pack-api-6.0.0-rc1.jar? If so, where can I find it?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 13, 2017, 6:17am UTC](https://discuss.elastic.co/t/x-pack-custom-security-realm-dependencies/102891/2 "2017-10-13T06:17:16Z")

</div>

You should be able to find the `x-pack-api` jar file in our Maven repository.

The instructions for [configuring a Java client](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/setup-xpack-client.html) include the details on the repo.

---

<div class="post-metadata">

**Author:** ![asanderson](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@asanderson](https://discuss.elastic.co/u/asanderson)\
**Post date:** [October 16, 2017, 5:39pm UTC](https://discuss.elastic.co/t/x-pack-custom-security-realm-dependencies/102891/3 "2017-10-16T17:39:12Z")

</div>

Thanks for info.

FWIW, these details really should also be found in the X-Pack Security custom realm and custom role provider sections of the reference guide, IMHO.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 13, 2017, 5:39pm UTC](https://discuss.elastic.co/t/x-pack-custom-security-realm-dependencies/102891/4 "2017-11-13T17:39:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
