Commit Graph
3010 Commits
Author SHA1 Message Date
kohsuke 66c0fdb6fe doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6238 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-08 16:13:15 +00:00
kohsuke 7c2636d033 if Ant dies very quickly, it might be because we failed to find Ant. But if it has been running for some time, then Ant was probably found.
So adjust error message accordingly.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6231 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 07:29:23 +00:00
kohsuke e1f0531714 bug fix in the UI&code coordination.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6229 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 06:39:29 +00:00
kohsuke 657ff3dfe2 added help for the no authorization mode.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6228 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 05:59:10 +00:00
kohsuke ddcd6d6a24 need to have the factory method implemented.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6227 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 05:54:07 +00:00
kohsuke a6517254fa hooking up realm&authorization configuration UI to the config submission logic.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6226 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 05:53:00 +00:00
kohsuke a79716fcdb doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6225 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 05:37:25 +00:00
kohsuke 77c6378b1a On Windows this method doesn't report a good error message, so improve diagnosability by adding messages.
See http://www.nabble.com/ClearCase-plugin-0.2-not-working-with-1.160-tf4948031.html


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6221 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 02:38:57 +00:00
kohsuke 539789f11a make sure that the base directory exists first.
See http://www.nabble.com/ClearCase-plugin-0.2-not-working-with-1.160-tf4948031.html


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6220 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-06 02:37:50 +00:00
kohsuke c953a77a78 fixed a bug where path to Ant is computed incorrectly if the master and the slave are on different OS.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6216 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 16:42:15 +00:00
kohsuke 31a1e3740a added a help text, so far mainly to test the feature in the <descriptorRadioList> tag. More text needs to be written.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6210 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 07:22:53 +00:00
kohsuke 9ac5c35e03 this is an incompatible behavior change, but since this method is only used among Jelly views in the core, I think it's safe to do this.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6206 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 07:21:15 +00:00
kohsuke 806e33d67d making progress on the security realm configuration. Started hooking up GUI.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6205 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 07:09:29 +00:00
kohsuke 3e229594d8 Use simpler names.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6204 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 06:02:54 +00:00
kohsuke b963b3b3b0 further improve robustness.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6203 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 06:02:10 +00:00
kohsuke c4a776cb37 added the emergency escape hatch.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6202 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 05:51:00 +00:00
kohsuke fa172f4171 typo.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6201 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-05 05:49:53 +00:00
kohsuke 6f37eee5fc Using Spring to build the filter chain for the legacy handling. This simplifies the anonymous user processing.
SecurityContextHolder implementation uses ThreadLocal, so BasicAuthenticationFilter needs to remove the SecurityContext before leaving the method, or else we'll leak session.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6170 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-03 07:24:38 +00:00
kohsuke eb6d3da111 integrated the Acegi-based security system to modernize the security handling of Hudson.
So far I only implemented enough to emulate the old "either you are admin or not" model, with authentication by the container.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6169 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-03 03:17:59 +00:00
kohsuke 84fb965592 added a singleton that implements "unsecured" semantics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6166 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-02 20:14:43 +00:00
kohsuke 4f1789fabe making more progress toward better security support.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6164 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-02 16:18:38 +00:00
kohsuke e61301f004 defined basic top-level permission constants.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6162 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-01 15:51:37 +00:00
kohsuke 481bc295f6 Moved Sid constants to the contract class.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6161 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-01 15:40:16 +00:00
kohsuke e8a9854e23 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6160 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-01 15:39:48 +00:00
kohsuke 9b9f4d04c7 this is moved to the base class.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6159 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-01 15:17:19 +00:00
kohsuke dd646eab1b doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6158 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-01 15:15:34 +00:00
kohsuke 9f66db5e92 resurrecting old field
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6138 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 18:15:38 +00:00
kohsuke 557da22aaf resurrecting the 'useSecurity' as the persistent field since the new security stuff is not ready.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6137 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 15:26:11 +00:00
redsolo 85a8d12800 Added a "Test configuration to send email" feature to the global configuration of email settings.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6133 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 11:32:22 +00:00
kohsuke 8403cc77b2 updated to use structured form submission.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6132 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 07:07:53 +00:00
kohsuke 0be0a23e2c JOB_NAME should capture full job name (#1047)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6126 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 05:51:53 +00:00
kohsuke 8327b8cc86 improved error diagnostics to assist trouble-shooting problems like http://www.nabble.com/can%27t-run-ant--tf4892879.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6125 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 03:01:15 +00:00
kohsuke f7277d8003 partial fix to #1052. The problem is that the DescriptorImpl class was not public.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6112 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-29 15:35:45 +00:00
kohsuke 99ac10de22 added a form to let the user dynamically configure the logger setting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6110 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-29 14:34:32 +00:00
kohsuke fbad47c7b5 added a form to let the user dynamically configure the logger setting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6109 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-29 14:28:03 +00:00
kohsuke 963447c312 added a logging message.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6094 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-28 00:57:05 +00:00
kohsuke 4e9c6a83ad Fixed NPE in case the query parameter is not supplied.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6092 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-28 00:38:15 +00:00
kohsuke 2afd410f86 moved SecurityFilters.groovy to the newly created security package.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6088 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 15:55:00 +00:00
kohsuke 011730f301 started implementing the first security realm implementation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6087 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 15:52:37 +00:00
kohsuke 5c2ec0d91f marked version.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6086 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 15:36:39 +00:00
kohsuke 97568419f1 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6085 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 15:25:33 +00:00
kohsuke 147f6b1125 adding abstraction to create configured AuthenticationManager.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6084 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 07:53:31 +00:00
kohsuke c49dcf357e introduce authenticationManager as a variable to avoid dependency to HudsonFilter
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6083 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 07:45:01 +00:00
kohsuke 3f4425f542 added a version that takes Binding.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6082 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 07:17:13 +00:00
bwestrich 69a2461d7d getTransitiveDownstreamProjects was erroneously returning the transitive upstream projects. Fixed.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6081 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 04:47:04 +00:00
kohsuke 62a34d3632 Incorporated a part of the changes as discussed in http://www.nabble.com/Re%3A--Issue-1032---Pluginify-the-dependency-management-tf4874011.html
I made a change to improve code reuse.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6080 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 02:12:16 +00:00
kohsuke ed9f7ee547 Incorporated a part of the changes as discussed in http://www.nabble.com/Re%3A--Issue-1032---Pluginify-the-dependency-management-tf4874011.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6079 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 02:07:54 +00:00
kohsuke 448670baaa security filter configuration is now in the war, so that it can be potentially customized by the user.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6067 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 06:11:20 +00:00
kohsuke 47a7b0e69e filter set up now includes both Acegi and legacy BASIC-only code.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6066 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 05:44:09 +00:00
kohsuke 902f5eb33c security setting is now tri-state.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6064 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 05:35:30 +00:00