Re: How to Set up Role in Tomcat

2008-07-16 Thread Alex Mestiashvili

Guojun Zhu wrote:

Hi,

We are using Tomcat 5.5 in a linux box.  And I am trying to set up the Realm
security for our webapp.   I only want a password and username challenge for
this webapp only.  So I guess I need to set up a role corresponding to it
directly.  I look around and did not find much information about how to do
this.  I found a section in the servlet spec., but it is quite general and
no specific details.  Can anyone give me more specific information on this
please?   I am not minding spend a couple of days to read.  I can program in
java and know the basic things about the language, not as advanced as to the
architecture level.  But I am very much willing to learn it.  Thanks.

Sincerely
zhu, Guojun

  

Have you tried google ?

http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to Set up Role in Tomcat

2008-07-15 Thread Guojun Zhu
Hi,

We are using Tomcat 5.5 in a linux box.  And I am trying to set up the Realm
security for our webapp.   I only want a password and username challenge for
this webapp only.  So I guess I need to set up a role corresponding to it
directly.  I look around and did not find much information about how to do
this.  I found a section in the servlet spec., but it is quite general and
no specific details.  Can anyone give me more specific information on this
please?   I am not minding spend a couple of days to read.  I can program in
java and know the basic things about the language, not as advanced as to the
architecture level.  But I am very much willing to learn it.  Thanks.

Sincerely
zhu, Guojun