Created attachment 103755 [details]
hudson module logging
Product Version: NetBeans IDE Dev (Build 201011300001)
Java: 1.6.0_22; Java HotSpot(TM) Server VM 17.1-b03
System: Linux version 2.6.35-23-generic running on i386; UTF-8; en_US (nb)
Hudson ver. 1.367 running remotely.
I cannot add our Hudson server to IDE (using correct authentication data). I'll attach relevant part of log and help you to track it down - just let me know what kind of information you need.
I need to know how to reproduce the problem on my own. The IDE log just says that the server rejected the login attempt with a 403, not why. The server log might say why (or not).
And first try with a dev build where bug #193008 is fixed.
OK. I'll wait for build with a fix for bug#130008. If it does not help we can discuss how to make that reproducible for you. Thanks.
I checked with 201012090001 build and the problem persists. I'll look for a way how to make it reproducible for you.
I've just tried and it only does not work when "Access Control|Security realm" is set to "Delegate to servlet container" in hudson settings. "Hudson's own user database" works OK (I can register hudson without problems then). We're using tomcat-6.0.29.
Strange, this is supposed to work; j_acegi_security_check will fail as expected, but then the IDE tries to log in using "legacy mode" via j_security_check. In your case that produces a 400 "bad request", which is certainly unexpected. Is there no mention of this in either the Hudson or Tomcat logs?
When I get a couple of hours free I will try to set up Tomcat with security and see if I can reproduce it. If so, can use e.g. curl to simulate all the HTTP transactions involved in a successful login. Do you have any instructions available for reproducing in a clean Tomcat/Hudson installation? (Max are you working on the same server as Radim?) Otherwise I will have to guess at the various configuration parameters for Tomcat, which can get complicated.
Created attachment 103870 [details]
server.xml configuration file
I've uploaded our server.xml file, tomcat-users looks like this:
<user username="jesse" password="glick" roles="admin"/>
There is no additional special setup. Hudson 1.367, tomcat-6.0.29 with loaded war. Access Control|Security realm"
is set to "Delegate to servlet container". Authorization is "Matrix based security". You should be able to log in using jesse/glick.
I haven't found anything special in either tomcat or hudson log. Same server as Radim.
Integrated into 'main-golden', will be available in build *201205050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jesse Glick <firstname.lastname@example.org>
Log: #193066: Cannot log in using "Delegate to servlet container" authentication