thanks a lot for your assuring. I got another question to turn to you. In the database(Oracle),the tables I used are usertable and grouptable,the association table of them is groupmembertable: usertable has columns of userid,username and password grouptable has columns of groupid,groupname groupmembertable has columns of groupid,userid How do I configure the JDBCRealm in the server.xml of Tomcat? <Realm .... userTable="users" userNameCol="user_name" userCredCol="user_pass"userRoleTable="user_roles" roleNameCol="role_name" /> what should be put in the userRoleTable and roleNameCol in this situation? and if I want all the user,regardless of its group,can login to my application,what should I set in the web.xml in the following element:<role-name>admin</role-name> set to *? thanks in advance for your kindness!
> Date: Wed, 31 Oct 2007 01:01:04 +0000> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: [tomcat]How to decrypt the DIGEST > authentication?> > zhongliang zhang wrote:> > Thanks a lot for everyone's > reply.> > I use the JDBCRealm and I store the users information and roles > information in the database,such as Oracle.> > then in my application set the > security part in the web.xml,which has an auth-method with DIGEST.> > So,the > username and password that the user input in the remote client with an > browser will be digested,and sent to the server side.> > Is that right?> > > Yes.> > Mark> > > ---------------------------------------------------------------------> To > start a new topic, e-mail: users@tomcat.apache.org> To unsubscribe, e-mail: > [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]> _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us