# Authentication Plugin

**URL:** <https://discuss.elastic.co/t/authentication-plugin/151441>\
**Category:** Elasticsearch\
**Created:** [October 8, 2018, 11:31am UTC](https://discuss.elastic.co/t/authentication-plugin/151441 "2018-10-08T11:31:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vahid\_Mouasvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vahid_mouasvi/32/45741_2.png) [@Vahid\_Mouasvi](https://discuss.elastic.co/u/Vahid_Mouasvi)\
**Post date:** [October 8, 2018, 11:31am UTC](https://discuss.elastic.co/t/authentication-plugin/151441/1 "2018-10-08T11:31:48Z")

</div>

I wanna use getRestHandlerWrapper() from ActionPlugin class instead of removed class "RestFilter" for authentication with user/pass! any ideas how can i use this new class instead of restfilter for catching user/pass from request header and check the credentials whether is ok or not!  
another question is when a user authenticate with this mechanism , in every request it must authenticate again or what?

---

<div class="post-metadata">

**Author:** ![Vahid\_Mouasvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vahid_mouasvi/32/45741_2.png) [@Vahid\_Mouasvi](https://discuss.elastic.co/u/Vahid_Mouasvi)\
**Post date:** [October 8, 2018, 12:05pm UTC](https://discuss.elastic.co/t/authentication-plugin/151441/2 "2018-10-08T12:05:35Z")

</div>

@s1monw  
Hi Simon! sorry I mentioned u here! can u help me with?

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [October 10, 2018, 9:45am UTC](https://discuss.elastic.co/t/authentication-plugin/151441/3 "2018-10-10T09:45:06Z")

</div>

I answered a similar question here: [RestFilters for ES 5.x](https://discuss.elastic.co/t/restfilters-for-es-5-x/134123/6?u=s1monw)

---

<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 7, 2018, 9:47am UTC](https://discuss.elastic.co/t/authentication-plugin/151441/4 "2018-11-07T09:47:18Z")

</div>

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