Re: help with realm setup

2002-03-17 Thread John Holman
Tony If you use the newly committed JNDIRealm, you can easily arrange that each user has a role whose name is the same as their username. Just set userRoleName to uid (or whatever attribute of the user's directory entry holds the username) and your security constraint below should work.

Re: help with realm setup

2002-03-15 Thread Tony Dahbura
Micael: Thanks for the data. The question I have though is that I am using the role-name but this only applies to roles that map (basically as groups) against a series of users that authenticate. I need to map directly against the user without having roles. So I need to be able to do a 1-1

Re: help with realm setup

2002-03-15 Thread Micael Padraig Og mac Grene
Sorry, Tony, I jumped in too fast there. If you want to do it without roles, then the manager is not the app for you. Why don't you make your own app for ids? There are many, many ways to do this. What you want to do depends on the number of users you are talking about, etc., etc. What

Re: help with realm setup

2002-03-15 Thread Craig R. McClanahan
On Fri, 15 Mar 2002, Tony Dahbura wrote: Date: Fri, 15 Mar 2002 11:27:40 -0500 From: Tony Dahbura [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: help with realm setup Micael: Thanks for the data. The question I

Re: help with realm setup

2002-03-15 Thread Micael Padraig Og mac Grene
PROTECTED] Subject: Re: help with realm setup Micael: Thanks for the data. The question I have though is that I am using the role-name but this only applies to roles that map (basically as groups) against a series of users that authenticate. I need to map directly against the user

Re: help with realm setup

2002-03-15 Thread Micael Padraig Og mac Grene
2002, Tony Dahbura wrote: Date: Fri, 15 Mar 2002 11:27:40 -0500 From: Tony Dahbura [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: help with realm setup Micael: Thanks for the data. The question I have though

help with realm setup

2002-03-14 Thread Tony Dahbura
I would like to set up my realm to allow folks in by userid not by rolename. I do not know what the tag for the web.xml file should be The following is a sample security constraint. The role names are working fine, but I need to say if a user is tony or user is x then allow them in, but without

Re: help with realm setup

2002-03-14 Thread Micael Padraig Og mac Grene
Just as a start, you need something more like the following. You need to look at how xml dtd are used. web-app security-constraint web-resource-collection web-resource-nameJoes Grill/web-resource-name