On 04/12/2004 10:31 AM [EMAIL PROTECTED] 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.


Adam


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to