Re: Servlet API: how to obtain the roles list ?

2002-12-24 Thread Gary Gwin
Pierre, There is no way to do this using the servlet API but you could easily store your user and role information in a JDBC user repository and then query that repository for the user data you want. If you need to include the user repository with your webapp, we've used the Hypersonic SQL

Servlet API: how to obtain the roles list ?

2002-12-23 Thread Pierre-Laurent Ribault
Hi, I want to obtain the list of the roles defined in the system from inside my servlet. I know where the roles are defined, and that I can check the user name and isUserInRole from the HttpServletRequest class, but I could not find out a method to list the existing users or roles. Is there such

Re: Servlet API: how to obtain the roles list ?

2002-12-23 Thread Craig R. McClanahan
On Tue, 24 Dec 2002, Pierre-Laurent Ribault wrote: Date: Tue, 24 Dec 2002 10:48:44 +0900 From: Pierre-Laurent Ribault [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Servlet API: how to obtain the roles list ? Hi, I want to obtain the list