Commit Graph
4632 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 58ee2f2fdf [maven-release-plugin] prepare release jenkins-2.161 2019-01-20 20:46:57 -08:00
David Olorundare 77ed68f5d0 [JENKINS-55305] Add new method to SecurityListener (#3825)
Consists of three changes:

[JENKINS-55305] Update SecurityListener method JavaDoc

[JENKINS-55307] Update HudsonPrivateSecurityRealm method

[JENKINS-54965] Add new HudsonPrivateSecurityRealmTest unit-test
2019-01-18 13:43:12 -06:00
David Olorundare 8a666a6d17 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-18 13:36:55 -06:00
Jesse Glick 8b91feb7b4 [JENKINS-55257] Verify fix in test. 2019-01-18 10:17:22 -05:00
David Olorundare f833489cf2 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-17 11:00:09 -06:00
Mike Glazer 0a6f0bb0fe [JENKINS-55428]: Support API creation with a hashed password (#3817)
* Support API creation with a hashed password

The purpose of this commit is to enable Jenkins Configuration
as Code to construct users via configuration, without the
need to store their passwords in plain text on disk.

* Fix test error

* PR Updates

* Create new method for creating account with a hashed password
* Add method for determining if a password is hashed or not.

* CR Updates

* Add check for hash validity

* Whitespace fix

* Fixup compile errors because PasswordEncoder doesn't have new methods

* Fix whitespace issue

* Add back whitespace

* Improve regex to check the log number of rounds / better version check
- add more tests for versions support to keep aligned with the library
2019-01-17 17:59:18 +01:00
Kohsuke Kawaguchi 055f4bb73e [maven-release-plugin] prepare for next development iteration 2019-01-15 11:05:10 -08:00
Kohsuke Kawaguchi 70a8e57424 [maven-release-plugin] prepare release jenkins-2.160 2019-01-15 11:05:02 -08:00
Wadeck Follonier 3210ff5774 Merge commit '6d2eb679a6fccc53d32708cc23c5927201953248' into security-master 2019-01-14 14:08:51 +01:00
Kohsuke Kawaguchi 6d2eb679a6 [maven-release-plugin] prepare for next development iteration 2019-01-13 13:04:20 -08:00
Kohsuke Kawaguchi 3f7b9d78dd [maven-release-plugin] prepare release jenkins-2.158 2019-01-13 13:04:06 -08:00
Baptiste Mathus ee04f92c05 Add reference to related JIRA entry 2019-01-09 17:41:03 +01:00
Baptiste Mathus 6fe66156dd Remove json comment 2019-01-08 15:50:17 +01:00
Baptiste Mathus 246adab568 Add test covering methods for "is*ForNewerJava()"
This way at least we know the backend methods should not be broken without
noticing.
2019-01-07 14:31:16 +01:00
Kohsuke Kawaguchi 78bad9afb8 [maven-release-plugin] prepare for next development iteration 2019-01-06 14:39:58 -08:00
Kohsuke Kawaguchi e82436fe31 [maven-release-plugin] prepare release jenkins-2.157 2019-01-06 14:39:39 -08:00
David Olorundare c53d6bc1a4 Update core to support user-creation notifications
[JENKINS-55305] Add user creation listener method

Four new methods added to the SecurityListener class
to enable support for listening to Jenkins user-account
creation events.

[JENKINS-55305] Update SecurityListener class

[JENKINS-55307] Add new private-realm unit tests

Added unit tests to exercise the updated methods
of the HudsonPrivateSecurityRealm class.

[JENKINS-55307] Update realm user-creation methods

[JENKINS-55305] Remove usage of listener method

Updated the SecurityListener and HudsonPrivateSecurityRealm
classes, removing usage of the SecurityListener failedToCreateUser()
method, as no valid Jenkins use cases could be identified for the
method at this point in time.
2019-01-04 12:21:21 -06:00
Jeff Thompson 10a574c403 Merge branch 'security-stable-2.150' into security-master 2019-01-03 14:22:58 -07:00
Jeff Thompson 0fea3acc78 Merge branch 'security-stable-2.138' into security-stable-2.150 2019-01-03 14:22:09 -07:00
Jeff Thompson 6683cc8442 [SECURITY-901] Fix test. 2019-01-03 14:09:37 -07:00
Jeff Thompson e07228ec75 Merge branch 'security-stable-2.150' into security-master 2019-01-03 10:08:42 -07:00
Jeff Thompson 85cc922e85 Merge branch 'security-stable-2.138' into security-stable-2.150 2019-01-03 10:05:19 -07:00
Jeff Thompson 18b40501ac Merge branch 'security-stable-2.121' into security-stable-2.138 2019-01-03 10:03:43 -07:00
Jeff Thompson 0916e5bd3c Merge branch 'security-stable-2.107' into security-stable-2.121 2019-01-03 09:55:20 -07:00
Wadeck Follonier 8c490d14c4 [SECURITY-901] 2019-01-03 09:03:00 -07:00
Gavin Mogan 285c979643 [JENKINS-55062] Add tests to confirm res and root urls are now set 2018-12-20 10:47:03 -08:00
Kohsuke Kawaguchi bcc4e4fe9c [maven-release-plugin] prepare for next development iteration 2018-12-16 21:07:20 -08:00
Kohsuke Kawaguchi 0f477dc3be [maven-release-plugin] prepare release jenkins-2.156 2018-12-16 21:07:07 -08:00
Jesse Glick 208b42a3ca Blocking Lifecycle.restart from within JenkinsRule. 2018-12-12 11:36:04 -05:00
Jesse Glick a701c1af98 Merge branch 'master' into timeout-diagnosis 2018-12-12 10:38:14 -05:00
Jesse Glick e3b1f32a42 JenkinsBuildsAndWorkspacesDirectoriesTest also has a restart issue, it seems. 2018-12-12 10:36:58 -05:00
Jesse Glick 65a121c1bb Suppressing a flaky test.
https://ci.jenkins.io//job/Core/job/jenkins/job/master/1179//testReport/junit/hudson.model/QueueTest/Windows_jdk8___Windows_Publishing___testBlockBuildWhenUpstreamBuildingLock/
2018-12-12 08:56:10 -05:00
Jesse Glick d121e08b5b Seeing if this helps. 2018-12-11 22:27:36 -05:00
Jesse Glick 25823d91ce Clarifying reason for suppression. 2018-12-11 09:30:32 -05:00
Jesse Glick 50df56352c Suppressing some tests which fail in CI. 2018-12-10 17:16:15 -05:00
Matt Sicker 3709fc1766 Tabs -> spaces 2018-12-07 14:06:18 -06:00
Matt Sicker 28be9e4dcc Improve test assertion
This fixes a test to check an empty map using a proper method rather than relying on its toString representation.
2018-12-07 14:05:00 -06:00
Kohsuke Kawaguchi dc364efd03 [maven-release-plugin] prepare for next development iteration 2018-12-03 15:22:29 -08:00
Kohsuke Kawaguchi d647577b8d [maven-release-plugin] prepare release jenkins-2.150.1 2018-12-03 15:22:20 -08:00
Kohsuke Kawaguchi 63f439c062 [maven-release-plugin] prepare for next development iteration 2018-12-03 13:36:29 -08:00
Kohsuke Kawaguchi eedb77b38e [maven-release-plugin] prepare release jenkins-2.154 2018-12-03 13:36:20 -08:00
Kohsuke Kawaguchi ec060fa305 [maven-release-plugin] prepare for next development iteration 2018-12-03 11:02:51 -08:00
Kohsuke Kawaguchi 1398df93a4 [maven-release-plugin] prepare release jenkins-2.138.4 2018-12-03 11:02:39 -08:00
Daniel Beck dfa84afa43 Merge branch 'security-stable-2.150' into security-master 2018-11-23 00:21:56 +01:00
Daniel Beck 896356a038 Merge commit '8d429ff13b2013ff0b390d59f9c8a7674e6d24a1' into security-master 2018-11-23 00:19:45 +01:00
Daniel Beck 2044726716 Merge branch 'security-stable-2.138' into security-stable-2.150 2018-11-23 00:07:50 +01:00
Daniel Beck 79384efd22 Merge branch 'stable-2.150' into security-stable-2.150 2018-11-23 00:07:37 +01:00
Wadeck Follonier 7bae6dd6ef [SECURITY-1072] Make ApiTokenStats work 2018-11-22 11:57:29 +01:00
Daniel Beck db5defdf2f Merge branch 'security-stable-2.150' into security-master 2018-11-21 15:42:46 +01:00
Daniel Beck 90b6d47af7 Merge branch 'security-stable-2.138' into security-stable-2.150 2018-11-21 15:38:34 +01:00