Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 35043 invoked by uid 500); 3 Sep 2001 19:17:30 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 35036 invoked from network); 3 Sep 2001 19:17:29 -0000 Received: from openbsd.qwc.com.br (200.214.221.6) by daedalus.apache.org with SMTP; 3 Sep 2001 19:17:29 -0000 Received: (qmail 21929 invoked from network); 3 Sep 2001 13:20:35 -0000 Received: from unknown (HELO equants01) (192.168.0.10) by openbsd.qwc.com.br with SMTP; 3 Sep 2001 13:20:35 -0000 Message-ID: <009201c134ad$65a3e170$0a00a8c0@default> From: "Roland" To: References: <20010903115006.X81157-100000@localhost> Subject: Re: Limits on the size of the web.xml file? Date: Mon, 3 Sep 2001 16:19:48 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Sounds like a redesign is more appropriate. > > Memory issues aside, have you considered the fact that using individual > security constraints for each and every user means that you have to > restart the entire app every time you add a new user? Or, that every time > you add a user and restart, the restart time gets longer and longer? Thats a problem! > Use application specific logic to ensure that a particular user can only > see things that are relevant to them (i.e. their own mailbox in a > WebMail scenario). That was my original design idea. BUT, in this case I don't know how to prevent someone to see the data from other users. How can I stop someone from trying to access the mail from someone else? Supposing that all "standard" users will have the same role, the security will allow him to see all directories. A question besides here, using JDBC realms is it possible to assign mutliple roles to one user? How do I do it? Do I have to put several entries in the user_roles table? One line for each role of the user? Thanks in advance...