# Webrick global authentication

**URL:** <https://www.ruby-forum.com/t/webrick-global-authentication/176713>\
**Category:** Ruby\
**Created:** [October 5, 2009, 11:26am UTC](https://www.ruby-forum.com/t/webrick-global-authentication/176713 "2009-10-05T11:26:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danmcb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Post date:** [October 5, 2009, 11:26am UTC](https://www.ruby-forum.com/t/webrick-global-authentication/176713/1 "2009-10-05T11:26:06Z")

</div>

I’m doing a small ruby application for an embedded device. There are  
some servlets and a few HTML pages.  
The whole web application should be passwort protected. As far as I  
understand I have to create and authenticator and use this in every  
servlet.  
Is there any possibility to use an “global” authenticator without  
putting it in every servlet?

---

<div class="post-metadata">

**Author:** ![danmcb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Post date:** [October 6, 2009, 8:22am UTC](https://www.ruby-forum.com/t/webrick-global-authentication/176713/2 "2009-10-06T08:22:20Z")

</div>

Ok, it seems nobody has an idea and I have to do it in the servlets ☹
