Commit graph

144 commits

Author SHA1 Message Date
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
Manolo Carrasco
1795ec39af Update Spanish translation
Originally-Committed-As: 1f5bc9bdd6a23f80e37274577810a7372ad2ec30
2012-05-22 12:32:33 +02:00
Kohsuke Kawaguchi
3481c1fad2 Merge branch 'prototype-patched'
Originally-Committed-As: 511b42a073230dde6a0f587b24886ba81f0515e8
2012-03-01 22:16:25 -08:00
Kohsuke Kawaguchi
f49cbc768e Imported prestine 1.5.1.1
... from http://www.prototypejs.org/assets/2007/6/20/prototype.js

Originally-Committed-As: 9a2891057d64a824cc2cd1b155a60fdf3fdce2a1
2012-03-01 18:47:48 -08:00
Seiji Sogabe
2dab08ae6f Updated japanese translations.
Originally-Committed-As: 939d13c86c7fdaec4a0e36a20655875e9a9d1812
2012-01-29 11:14:26 +09:00
Kohsuke Kawaguchi
c32808c8d7 [FIXED JENKINS-8152]
Formatting error in the rootDN inference code. It shouldn't include
attribute name.

Originally-Committed-As: c99fc315dddf707dba3a2dea6a048bd76dce4c2e
2012-01-27 17:20:18 -08:00
Kohsuke Kawaguchi
8d6da512f7 Community-contributed localization for zh_TW (zh_TW)
Originally-Committed-As: 04d0e957b6b08325801f68621bc68ae7d90904c0
2011-12-01 22:49:50 -08:00
Kohsuke Kawaguchi
63f24f537c Community-contributed localization for zh_CN (zh_CN)
Originally-Committed-As: 73193bce67203411000d0457b37b39041aa6b366
2011-12-01 22:49:50 -08:00
Kohsuke Kawaguchi
c19ca105c6 Community-contributed localization for sv_SE (sv_SE)
Originally-Committed-As: 1a23e9cf88c1198a345140164d3a31ac3d4e477d
2011-12-01 22:49:50 -08:00
Kohsuke Kawaguchi
5e5d2abd76 Community-contributed localization for Russian (ru)
Originally-Committed-As: 084b351ca7ab600c6d639b4a854a53276c04c3aa
2011-12-01 22:49:49 -08:00
Kohsuke Kawaguchi
c010bb6a5e Community-contributed localization for pt_BR (pt_BR)
Originally-Committed-As: 593402bbdc7b7153f523c9952460b70682507929
2011-12-01 22:49:48 -08:00
Kohsuke Kawaguchi
f34743975d Community-contributed localization for nb_NO (nb_NO)
Originally-Committed-As: ac82e290590407d9f062c8cf5c80b107d6865e30
2011-12-01 22:49:48 -08:00
Kohsuke Kawaguchi
e3046ce0b3 Community-contributed localization for Korean (ko)
Originally-Committed-As: 4422f88944cef0e9401bd254762aa9f3d096e6f0
2011-12-01 22:49:47 -08:00
Kohsuke Kawaguchi
6ef034b264 Community-contributed localization for French (fr)
Originally-Committed-As: 380f75e350493fc7cebf4f5fa1fa9ca1023e7bf5
2011-12-01 22:49:46 -08:00
Kohsuke Kawaguchi
6132e039a3 Community-contributed localization for German (de)
Originally-Committed-As: c1b62245bc0bbe93913875fc73aeb20b815f9756
2011-12-01 22:49:44 -08:00
Kevin Connor
cd03d2c490 Revert "change ldap group lookup when using memberUid to match using name"
I had a misunderstanding of the values in {0} and {1}. Both are names.
{1} is the shorter username rather than {0} which is the full ldap
specifier.

This reverts commit 8feb91bb2f6637783b9ffb051776e953b1c5e84c.

Originally-Committed-As: 6be5275ef052c4d0475c3563a3d6053fde549070
2011-06-20 13:09:38 -07:00
Kevin Connor
d1b2c88721 Merge remote branch 'upstream/master'
Originally-Committed-As: 3ff20f4436bca904da2c9daad94139aef543ff9a
2011-06-20 13:08:43 -07:00
Kohsuke Kawaguchi
bd334cff2d LDAPBindSecurityRealm.groovy> can be now overridden in
$JENKINS_HOME if it exists.

See
http://jenkins.361315.n4.nabble.com/LDAPBindSecurityRealm-groovy-td3584243.html

Originally-Committed-As: 77188bfccf1fbafad14a18a26a0175e54157383e
2011-06-09 15:40:20 -07:00
Kohsuke Kawaguchi
f7389a7339 Merge branch 'pull-152'
Conflicts:
	core/src/main/java/hudson/model/DependencyGraph.java

Originally-Committed-As: d5c24703706b5afc6f62664251d1bfb1b0e0668f
2011-06-07 10:44:49 -07:00
Kevin Connor
40f72a1b10 change ldap group lookup when using memberUid to match using name
according to rfc2307 which says the memberUid is a name (not a uid
strangely enough)

just going by
http://manpages.ubuntu.com/manpages/natty/man5/sssd-ldap.5.html
ldap_schema description and my broken install on ubuntu...

I can't say what ldif I used except it was standard (I didn't write it)
and ldapscripts and phpmyadmin all seem to want the field to be a name.

Originally-Committed-As: 8feb91bb2f6637783b9ffb051776e953b1c5e84c
2011-06-07 10:30:24 -07:00
Kevin Connor
6229db6f95 change ldap group lookup when using memberUid to match using name
according to rfc2307 which says the memberUid is a name (not a uid
strangely enough)

just going by
http://manpages.ubuntu.com/manpages/natty/man5/sssd-ldap.5.html
ldap_schema description and my broken install on ubuntu...

I can't say what ldif I used except it was standard (I didn't write it)
and ldapscripts and phpmyadmin all seem to want the field to be a name.

Originally-Committed-As: 8ce68934aba3d016b645035bae1841eaccca9ef5
2011-06-06 23:05:24 -07:00
Nigel Magnay
57b0be36a8 Move hudson.model.Jenkins to be jenkins.model.Jenkins - part II
Just import changes, from hudson.model.Jenkins -> jenkins.model.Jenkins,
and Javadoc comments.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>

Originally-Committed-As: 5679d019ec7c1be89d5ea2b2a964ac143695d474
2011-05-29 11:06:28 +01:00
Nigel Magnay
c4831a9dae Stage 1 : Create hudson.model.Jenkins, make Hudson derive from Jenkins.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>

Originally-Committed-As: 70c10658148c3eab3b4c4122705e1ed3a12e193d
2011-05-29 11:00:58 +01:00
Chris Cosby
c08e778ff7 Change new inferRootDN argument to false for test
Originally-Committed-As: 677033863f7f2e31d093edfe410c3db94ccff761
2011-04-25 15:02:24 -07:00
Chris Cosby
82aa9f4a96 Add inhibitInferRootDN to LDAP module. This allows rootDN to be blank, import for some broken AD servers accessed via LDAP.
Originally-Committed-As: 9d43b581fd6a5c3f8585503a1bc464db720da8e0
2011-04-25 15:02:24 -07:00