Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 82332 invoked from network); 3 Sep 2005 03:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Sep 2005 03:45:45 -0000 Received: (qmail 50399 invoked by uid 500); 3 Sep 2005 03:45:32 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 50389 invoked by uid 500); 3 Sep 2005 03:45:32 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 50376 invoked by uid 99); 3 Sep 2005 03:45:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 20:45:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of pc.leung@gmail.com designates 64.233.184.193 as permitted sender) Received: from [64.233.184.193] (HELO wproxy.gmail.com) (64.233.184.193) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 20:45:45 -0700 Received: by wproxy.gmail.com with SMTP id i13so632000wra for ; Fri, 02 Sep 2005 20:45:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZaYGwp+2AfEylZXwsn9mlZ4jC/IY9IRR36vkY3s4NiS9qKqKcVj+qU/v08HKCKFIi4n1facKff595TXRtgsq3YomYYS1ihlOSuTD6P5rA1Kq+6OBfdhIi/3Qzi0YpQz75pTKwDiA16Gf5sPNN2YQZKe4RE9BpYUvPHQMEIjbfwc= Received: by 10.54.34.20 with SMTP id h20mr21600wrh; Fri, 02 Sep 2005 20:45:29 -0700 (PDT) Received: by 10.54.97.16 with HTTP; Fri, 2 Sep 2005 20:45:29 -0700 (PDT) Message-ID: Date: Sat, 3 Sep 2005 11:45:29 +0800 From: =?BIG5?B?seessbP1?= To: tomcat-user@jakarta.apache.org Subject: After 1st installation of JDBCRealm? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I just install JDBCRealm of Tomcat 5.5 It works. Very simple to configure. But I have a few questions to ask. 1. How can users change password? And if password is encrypted, how to manage password? eg, how to create the 1st user name and password? 2. Can the Struts Action class get the value of request.isUserInRole("")? 3. Can JDBCRealm support policy like JAASRealm? 4. Roles are defined in web.xml and database's tables.=20 Is it double work? If there is a difference of roles in web.xml and tables for the same username, which prevail? Can anyone give me hints? --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org