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
434a978e1d
use YUI button.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6168 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-03 02:12:45 +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
611ca94dc4
should be using YUI.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6144 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 19:04:56 +00:00
kohsuke
887bf81e9c
setting form margin to 0 made this obsolete.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6142 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 19:01:49 +00:00
kohsuke
6d6e65201a
but this doesn't belong to the trunk
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6141 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 18:54:12 +00:00
kohsuke
39fa1e072c
commiting my temporary experiment to keep this in the record
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6140 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 18:53:56 +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
kohsuke
ee7d3e6993
fixed misleading title ( #1035 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6136 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 15:19:09 +00:00
kohsuke
1ef23fcdcc
fixed misleading title ( #1035 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6135 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 15:19:08 +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
89a71a426f
Opera 9 added WebForms 2.0 support, which uses the 'forms' attribute in other purposes. Need to rename them ( #1056 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6127 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-30 06:16:35 +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
8c4df86b69
added help.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6111 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-29 15:04:53 +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
5e821174a3
should use YUI button.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6091 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 23:51:44 +00:00
kohsuke
31c51bbbf0
should use YUI button.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6089 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-27 18:52:07 +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
kohsuke
60195378db
security setting is now tri-state.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6063 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 05:25:11 +00:00
kohsuke
6ee04f9070
Moving BasicAuthenticationFilter to the newly introduced security page.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6062 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 05:13:47 +00:00
kohsuke
58146e4cdc
Started integrating acegi security into Hudson.
...
Introducing basic security model objects like Permission and ACL.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6061 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 05:12:12 +00:00
bwestrich
65ef99fd45
correctly state when a project that is about to be triggered by scm mis or is not already in the queue
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6060 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 05:10:46 +00:00
kohsuke
8d481f7ae8
Started integrating acegi security into Hudson.
...
The first step is to declare dependencies and put Groovy-based spring bean configuration code, so that we can compose components from Acegi little more nicely.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6059 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-26 04:57:13 +00:00
kohsuke
7b14197de5
bug fix in the duration formatting.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6022 71c3de6d-444a-0410-be80-ed276b4c234a
2007-11-23 01:05:59 +00:00