kohsuke
5628245784
implemented user sign-up code.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6330 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 06:31:50 +00:00
kohsuke
4e5d783914
added a convenience method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6328 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 06:29:41 +00:00
kohsuke
03d6a8e425
formatting fix.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6327 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 05:27:37 +00:00
kohsuke
a2572957f5
added a method to programatically update a property.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6326 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 05:27:28 +00:00
kohsuke
3803604199
adding captcha for sign-up screen.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6325 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 02:56:21 +00:00
kohsuke
e04fb0f09b
adding sign-up support.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6323 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 00:44:02 +00:00
kohsuke
dffb6b6744
AuthenticationManager needs to be set to proxy.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6321 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 00:11:08 +00:00
kohsuke
774cd11aab
login URL is different if we are to be authenticated by the container.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6320 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-17 00:10:49 +00:00
kohsuke
cf2daf95fe
hooking up the legacy security realm.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6318 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 23:32:55 +00:00
kohsuke
4da16c4567
we can now depend on JDK5.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6316 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 17:01:24 +00:00
kohsuke
ed431fe3e8
added form field validation for shell executable.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6315 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 16:50:42 +00:00
kohsuke
6afcc1e6ff
look for binary in PATH.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6314 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 16:49:17 +00:00
kohsuke
074602e668
use EnvVars to handle case insensitive lookup correctly.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6313 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 16:38:48 +00:00
kohsuke
6c48b986b2
fixed the time parsing issue ( #1085 ).
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6306 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 04:02:12 +00:00
kohsuke
cf62603f09
fixed the time parsing issue ( #1085 ).
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6305 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 04:00:35 +00:00
kohsuke
7530c95c9c
committed a patch from Mikael Carneholm: http://www.nabble.com/Re-3A-Online-XML-validation-to14346598.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6299 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 02:22:32 +00:00
kohsuke
1642a4f6d8
let the remote channel launcher decide the protocol, so that the user can decide binary/text.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6297 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 02:01:22 +00:00
kohsuke
f346fdf378
exposed /exit for admins to shutdown VM.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6294 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-16 01:50:28 +00:00
kohsuke
9ce6afa929
bug fix.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6289 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-15 22:32:22 +00:00
kohsuke
cf5eedbf04
doc update
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6241 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-08 16:37:33 +00:00
kohsuke
ae04bd986d
improved error handling when failed to parse POM. No intermediate chaining necessary.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6240 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-08 16:22:38 +00:00
kohsuke
81678bfd1a
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6239 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-08 16:18:49 +00:00
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