tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kulla <ku...@metabox.de>
Subject Re: How to setup login based security?
Date Tue, 30 May 2000 17:30:01 GMT
Hi,

well, there are some misunderstandigs. 

I already have a lot of servlets, and I want to write some kind of wrapper
that checks for a request to one of my servlets if there is some kind of
session data or not. If not the request is redirected to a special
LoginServlet. Maybe this could be implemented by a special request dispatcher.

Christoph Kulla wrote:
> 
> Hi,
> 
> my webapplication starts with a form based user login. A database lookup is
> made to check if there is a user account. When the login is successfull an
> user object is inserted in the current session data. All other servlets of my
> webapp should check if these user object exists and if not redirect the
> request to the login form.
> 
> My idea is to implement a check servlet (or a simple class) which
> checks every request to my webapp before the requested servlet is called.
> Is this possible with tomcat or is there any other way to secure my webapp.
> 
> Regards,
> 
>         Christoph
> --
> +---------------------------------------------------------------------------+
> | Dipl.-Inf. Christoph Kulla                        mailto:kulla@metabox.de |
> | Met@box AG                                          http://www.metabox.de |
> | Daimlerring 37                                                            |
> | 31135 Hildesheim                                  Phone: +49-5121-7533-0  |
> | Germany                                             Fax: +49-5121-7533-78 |
> +---------------------------------------------------------------------------+
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

-- 
+---------------------------------------------------------------------------+
| Dipl.-Inf. Christoph Kulla                        mailto:kulla@metabox.de |
| Met@box AG                                          http://www.metabox.de |
| Daimlerring 37                                                            |
| 31135 Hildesheim			            Phone: +49-5121-7533-0  |
| Germany                                             Fax: +49-5121-7533-78 |
+---------------------------------------------------------------------------+

Mime
View raw message