RE: Multiple security-constraint elements

2006-07-24 Thread Propes, Barry L
Steve,

I looked at mine and that looks correct. Try commenting one of the constraints, 
restart Tomcat and test it.

But I do recall, I had a little bit of problem with mine working, and it turned 
out, after I rebooted my entire box (I run Win2K), all the constraints seemed 
to work,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 8:13 AM
To: users@tomcat.apache.org
Subject: Multiple security-constraint elements


I am trying to set up restricted access to several folders within the =
same engine context.

I have a web.xml file within the WEB-INF folder, and can get a single =
security constraint to work OK.  When I try and set up a second one, =
nothing happens, and the second constraint is never respected.

The current web.xml is pasted below.


http://java.sun.com/dtd/web-app_2_3.dtd";>





Login for Admin Privileges



Admin Group Access

/admin/*





admin







Login for Family CUG



Diane's Poetry Data

/poetry/*

/family/*





family







BASIC

Restricted Access





This role includes all members permitted to perform =
admin tasks

admin





This role describes CUG of family members

family





Any suggestions, please...

Steve



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


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



Multiple security-constraint elements

2006-07-24 Thread scw . tomcat
I am trying to set up restricted access to several folders within the =
same engine context.

I have a web.xml file within the WEB-INF folder, and can get a single =
security constraint to work OK.  When I try and set up a second one, =
nothing happens, and the second constraint is never respected.

The current web.xml is pasted below.


http://java.sun.com/dtd/web-app_2_3.dtd";>





Login for Admin Privileges



Admin Group Access

/admin/*





admin







Login for Family CUG



Diane's Poetry Data

/poetry/*

/family/*





family







BASIC

Restricted Access





This role includes all members permitted to perform =
admin tasks

admin





This role describes CUG of family members

family





Any suggestions, please...

Steve



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