Commit graph

168 commits

Author SHA1 Message Date
Stephen Connolly
d9b48cd661 [maven-release-plugin] prepare for next development iteration 2014-05-09 11:16:53 +01:00
Stephen Connolly
c05bde49e3 [maven-release-plugin] prepare release ldap-1.9 2014-05-09 11:16:48 +01:00
Stephen Connolly
0dd2c6ed5d damn you git 1.8.5 2014-05-09 11:15:32 +01:00
Stephen Connolly
4a80681fe1 Since the configuration file format has been changed, upgrading to 1.9 will not let you downgrade without loss of config, so mark 1.9 as the oldest compatible since version 2014-05-09 10:23:19 +01:00
Stephen Connolly
474ce4bbc0 Update the hack to work-around JENKINS-22247 2014-05-09 10:20:44 +01:00
Jesse Glick
a68bf21b79 Was storing the manager password scrambled; now properly encrypting it. 2014-05-07 14:16:35 -04:00
Jesse Glick
0f4e172636 Modernized configuration UI and data binding. 2014-05-07 13:55:05 -04:00
Jesse Glick
9f7037d383 Establish test baseline for settings storage and UI configuration. 2014-05-07 10:12:45 -04:00
Stephen Connolly
64fcf64850 Add a hack to work-around JENKINS-22247 2014-03-27 10:49:03 +00:00
Stephen Connolly
df5d37c409 [maven-release-plugin] prepare for next development iteration 2014-01-17 17:06:09 +00:00
Stephen Connolly
2e98d11910 [maven-release-plugin] prepare release ldap-1.8 2014-01-17 17:06:03 +00:00
Stephen Connolly
631a3f09c4 [FIXED JENKINS-18355] LDAP does not populate Your Name field
Towards 1.8
2014-01-17 16:58:01 +00:00
Stephen Connolly
f19e3693d0 [maven-release-plugin] prepare for next development iteration 2013-12-09 12:29:07 +00:00
Stephen Connolly
32ccd4bdd7 [maven-release-plugin] prepare release ldap-1.7 2013-12-09 12:29:02 +00:00
Stephen Connolly
fe4a7145a3 Add ability to define LDAP environment properties 2013-12-09 12:22:29 +00:00
Stephen Connolly
33a07f8aa3 [FIXED JENKINS-16443] Document how to specify multiple servers for failover support
- The code has supported multiple redundant servers, but the help did not indicate the support
2013-10-25 11:13:47 +01:00
Stephen Connolly
e5bc0f9b20 [maven-release-plugin] prepare for next development iteration 2013-07-24 15:46:49 +01:00
Stephen Connolly
0beccde259 [maven-release-plugin] prepare release ldap-1.6 2013-07-24 15:46:36 +01:00
Stephen Connolly
80529f993e Add support for multiple servers 2013-07-24 15:29:42 +01:00
Stephen Connolly
c99f31c5b5 [maven-release-plugin] prepare for next development iteration 2013-06-14 16:29:11 +01:00
Stephen Connolly
dc60794a70 [maven-release-plugin] prepare release ldap-1.5 2013-06-14 16:29:03 +01:00
Stephen Connolly
c0fc0b9697 Add a readme 2013-06-14 16:24:47 +01:00
Stephen Connolly
72a91027ab [FIXES JENKINS-17281] Adding configuration options for the filters used to search for groups.
- It is somewhat confusing that there are two `group search filters` so I have decided to rename one.
- The new name for the `groupSearchFilter` that is controlled from `LDAPBindSecurityRealm.groovy` is the
  `groupMembershipFilter` as this filter is used to determine what groups a specific user is a member of
- That leaves `groupSearchFilter` as a nice clean name for the filter to search for named groups.
- This should still respect any existing configuration, i.e. leaving these fields blank will leave the
  existing defaults or existing overrides in place... but it will make life easier for users going forward
- Took quite some digging to figure out exactly what these filters were for... hopefully I have left things
  in a more obvious framing for anyone else following
- I would like a better way to apply the `groupMembershipFilter` override, but this was the cleanest way
  I could maintain backwards compatibility
2013-06-14 16:21:59 +01:00
Stephen Connolly
2faeb21b7a [maven-release-plugin] prepare for next development iteration 2013-04-24 12:58:38 +01:00
Stephen Connolly
1cd57fe603 [maven-release-plugin] prepare release ldap-1.4 2013-04-24 12:58:31 +01:00
Stephen Connolly
f16c88f82c Move the userDetails caching into the user details service as some callers may otherwise bypass the cache 2013-04-24 12:57:39 +01:00
Stephen Connolly
95ccc7ade0 [maven-release-plugin] prepare for next development iteration 2013-04-24 12:44:18 +01:00
Stephen Connolly
452d6d518b [maven-release-plugin] prepare release ldap-1.3 2013-04-24 12:44:10 +01:00
Stephen Connolly
f3b01b2d42 Add an optional caching mechanism for loadUserByUsername and loadGroupByGroupname
- Caching is usually not recommended
- Where the LDAP server is slow, or rate-limits clients however, by trading off memory required on the master JVM
  improved performance can be observed with caching enabled.
- Large long-TTL caches will most likely require the JVM memory on the master be increased to compensate for the cache population
2013-04-24 12:42:25 +01:00
Stephen Connolly
644d54099b update .gitignore 2013-04-24 12:35:40 +01:00
Jesse Glick
ac82c3b563 Merge pull request #1 from tan9/master
Add/update Chinese (traditional) translation.
2013-02-20 07:46:17 -08:00
beta
9983b49c39 Ignore eclipse generated files and directories. 2013-02-20 13:07:57 +08:00
beta
f9e5456578 Add Chinese (traditional) translation. 2013-02-20 12:58:11 +08:00
olivier lamy
9493921604 [maven-release-plugin] prepare for next development iteration 2012-12-06 00:05:51 +01:00
olivier lamy
685b677940 [maven-release-plugin] prepare release ldap-1.2 2012-12-06 00:05:31 +01:00
olivier lamy
cb5636dbb5 double d 2012-12-05 23:26:09 +01:00
olivier lamy
3c8bb45192 more modern version of surefire 2012-12-05 23:23:29 +01:00
olivier lamy
78e28639dc Add a flag to be to disabe LDAP MailAddressResolver impl.
@apache we don't want to use/expose this attribute from our ldap server.
2012-12-05 23:16:06 +01:00
olivier lamy
076e96cc29 add .gitignore 2012-12-05 18:52:32 +01:00
Kohsuke Kawaguchi
838b118109 [maven-release-plugin] prepare for next development iteration 2012-06-11 08:46:10 -07:00
Kohsuke Kawaguchi
93441be16e [maven-release-plugin] prepare release ldap-1.1 2012-06-11 08:46:00 -07:00
Kohsuke Kawaguchi
9b9039d2df Needs to explicitly set the classloader.
Or else, classes from this plugin fails to resolve.

-------------------------
org.jvnet.hudson.reactor.ReactorException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 32: unable to resolve class hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl
 @ line 32, column 1.
   import hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl
   ^

1 error

    at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
    at jenkins.InitReactorRunner.run(InitReactorRunner.java:43)
    at jenkins.model.Jenkins.executeReactor(Jenkins.java:885)
    at jenkins.model.Jenkins.<init>(Jenkins.java:790)
    at hudson.model.Hudson.<init>(Hudson.java:81)
    at hudson.model.Hudson.<init>(Hudson.java:77)
    at hudson.WebAppMain$2.run(WebAppMain.java:217)
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 32: unable to resolve class hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl
 @ line 32, column 1.
   import hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl
   ^

1 error

    at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302)
    at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:858)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:548)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:497)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287)
    at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731)
    at groovy.lang.GroovyShell.parse(GroovyShell.java:743)
    at groovy.lang.GroovyShell.parse(GroovyShell.java:723)
    at groovy.lang.GroovyShell.parse(GroovyShell.java:790)
    at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:133)
    at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:359)
    at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398)
    at hudson.security.HudsonFilter.reset(HudsonFilter.java:134)
    at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1960)
    at jenkins.model.Jenkins$17.run(Jenkins.java:2524)
    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
    at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
    at jenkins.model.Jenkins$7.runTask(Jenkins.java:874)
    at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
    at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:636)
2012-06-06 16:41:13 -07:00
Kohsuke Kawaguchi
aabf2164ac Completed POM. 2012-06-05 20:59:09 -07:00
Kohsuke Kawaguchi
4c3f76fa4d [maven-release-plugin] prepare for next development iteration 2012-06-05 20:51:56 -07:00
Kohsuke Kawaguchi
f4d9bdfd47 [maven-release-plugin] prepare release ldap-1.0 2012-06-05 20:51:51 -07:00
Kohsuke Kawaguchi
e7b6a4b17a Releasing the first version 2012-06-05 20:51:11 -07:00
Kohsuke Kawaguchi
2f90caa55b POM massaging 2012-05-30 10:30:25 -07:00
Kohsuke Kawaguchi
8f8a6c7274 Adjusting to the new directory layout. 2012-05-30 09:53:59 -07:00
Kohsuke Kawaguchi
d8aa79270b Added POM 2012-05-30 09:53:53 -07:00
Kohsuke Kawaguchi
bade26c49f Moving files into the correct location 2012-05-30 09:47:55 -07:00