Re: Authentication Problem

2006-10-09 Thread Christopher Schultz
Nathan, >> One question: if you a user who needs access to both resources, why are >> they not associated with both roles? That's the general [way] to do >> authorization. > > Well... To be honest we are still in the process of developing use cases > for our user authentication. It may well be th

Re: Authentication Problem

2006-10-09 Thread Nathan Potter
On Oct 9, 2006, at 11:20 AM, Christopher Schultz wrote: Nathan, I am using Tomcat 5.5. I would like to be able to specify different authentication rules for different url patterns within my web application. [snip] However, if I try it with a browser, once I authenticate for one URI, then

Re: Authentication Problem

2006-10-09 Thread Christopher Schultz
Nathan, > I am using Tomcat 5.5. I would like to be able to specify different > authentication rules for different url patterns within my web > application. [snip] > However, if I try it with a browser, once I authenticate for one URI, > then I am locked out of the other one until I successfully

Re: Authentication problem -> request.getRemoteUser() returns null

2006-07-04 Thread David Smith
The connector receiving requests from httpd needs the attribute tomcatAuthentication set to "false" in server.xml. Otherwise tomcat will ignore the REMOTE-USER header provided by httpd. -- David Oliver Enders wrote: Hy, I have the following constelation: Windows XP Apache 2.0.58 Tomcat 4.1

Re: authentication problem deploying app to tomcat via ant

2006-06-13 Thread Anne Wilson
D'oh! Turns out that the ant script (which I inherited - a minor excuse) was importing a properties file that set the very same properties I tried to define in the script, e.g., "tomcat.manager.username". Great minds name alike, I guess. Properties being immutable, my changes were ignored.

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Garey Mills
Mark - Thanks for the pointers. I ended up picking up code from the Tomcat source of org.apache.catalina.ant.AbstractTask and using that to do Basic Authentication. I've got it working now. Garey Mills Library Systems Office UC Berkeley The brain is not where you think On Tue, 18 Apr

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Mark Thomas
Garey Mills wrote: > Mark - > > I have looked at the manager app how-to, and it doesn't describe > how connect from a script. I have this > > > private static String stop = > "http://myhost:8080/manager/stop?path=/

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Garey Mills
Mark - I have looked at the manager app how-to, and it doesn't describe how connect from a script. I have this private static String stop = "http://myhost:8080/manager/stop?path=/myapp";; public static void

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Mark Thomas
Marc Farrow wrote: > You have to use the webdav application provide from tomcat. Check under > $tomcat_home/webapps/webdav/web.xml. there is a line commented out that > states some property of read-only = false. by default it is read-only and > you have to manually turn it on. What on earth has

Re: authentication problem using manager URLs from a script

2006-04-18 Thread Marc Farrow
You have to use the webdav application provide from tomcat. Check under $tomcat_home/webapps/webdav/web.xml. there is a line commented out that states some property of read-only = false. by default it is read-only and you have to manually turn it on. On 4/18/06, Garey Mills <[EMAIL PROTECTED]