tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <>
Subject Re: Authentication in tomcat
Date Mon, 12 Apr 2004 10:09:09 GMT
On 04/12/2004 10:31 AM wrote:
> Hello. I'm a bit confused. I'm trying tomcat's authentication with bad 
> or no results. The documentation is very simple and I don't understand 
> so well. I've a web application and I want to make authentication with 
> a user role and a admin role. The admin can administrate permissions 
> and roles. I want to use form authentication. Each role can access a 
> part of the application web. I must check if the user has a session and 
> has permission for the accessing. 
> I've got a connection pool with JNDI in mysql. Has anybody a full 
> example? 

You need to set up a realm. Presumably a JNDI or JDBC realm would suit 
you. Realms are IMO well documented on the tomcat website at jakarta, 
and with examples as well I believe.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message