Commit Graph

104 Commits

Author SHA1 Message Date
Olivier Lamy 4a57b05074 move LdapConnection to an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477971 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:19:20 +00:00
Olivier Lamy 4ecba94f20 rename to default to have an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477968 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:17:23 +00:00
Olivier Lamy f864f9e26f use last build helper plugin version
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1462891 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 08:09:18 +00:00
Olivier Lamy ad73f680ba use property rather than hardcoded values
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1462743 13f79535-47bb-0310-9956-ffa450edef68
2013-03-30 12:55:30 +00:00
Olivier Lamy 75b4882d44 use a more traditionnal naming convention with #default
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1452590 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 23:14:35 +00:00
Olivier Lamy b2c48de92e [MRM-1747] upgrade to last modello.
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1446826 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 00:41:41 +00:00
Olivier Lamy 273b8f6ff0 use warn rather than debug to show more informations in log
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436672 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:43:30 +00:00
Olivier Lamy a7c4bd1d97 LdapUserManagr can be not readOnly depending on configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436671 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:43:14 +00:00
Olivier Lamy 030ecf0664 fix some unit test for Ldap rbacmanager impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433396 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:22:03 +00:00
Olivier Lamy 44232d70f6 fix get guest with ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430636 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 23:55:30 +00:00
Olivier Lamy df8c052256 this parameter is a String not Object
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430613 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:47:59 +00:00
Olivier Lamy 201e8c291d use cache with generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429404 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:21:47 +00:00
Olivier Lamy c4bd8f73d0 use a StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428495 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:31:35 +00:00
Olivier Lamy 21d8136f46 fix units tets
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428478 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:44 +00:00
Olivier Lamy 05a128bc6e use dynanic ldap port allocation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428475 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:13 +00:00
Olivier Lamy 56b338cb19 move user concerns to a specific package
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428474 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:03 +00:00
Olivier Lamy 9b53cd4e29 formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428291 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 11:29:06 +00:00
Olivier Lamy 8b538cf1ad avoid toString of String
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427139 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:34:21 +00:00
Olivier Lamy 30c1cfa2a4 UserManagerException is now a checked Exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419568 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:34:46 +00:00
Olivier Lamy e0dc1a1966 correctly inform users what happened with failing ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419566 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:31:37 +00:00
Olivier Lamy 7181023737 add access to listeners
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418772 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:32:57 +00:00
Olivier Lamy 3257c3fac5 remove non used method with parameter Object principal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418771 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:32:34 +00:00
Olivier Lamy 610002ab5f user now track userManagerImpl id they come from
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418716 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:40:08 +00:00
Olivier Lamy deb7a3b238 jul-to-slf4j to have jpox log to slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417924 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:51:28 +00:00
Olivier Lamy 8dbb9a32ff more natural place for this module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417913 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:32:45 +00:00
Olivier Lamy 51325b452e add a spring file
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417910 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:31:21 +00:00
Olivier Lamy 5c55300800 userConfiguration#default bean must be know declared tru an alias to avoid duplicate bean ids
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417908 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:31:05 +00:00
Olivier Lamy 2907ffa101 use a more classic name for this bean userConfiguration#default
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417782 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 09:09:45 +00:00
Olivier Lamy 3c6f8dc455 moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417396 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:48 +00:00
Olivier Lamy eef9c73382 start moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417395 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:03 +00:00
Olivier Lamy b890cd1b97 adapt to last changes in spring-jdo2 component
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417087 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:20:19 +00:00
Olivier Lamy 0f75dfab50 move modello-maven-plugin version to pluginManagement in top pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414847 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 18:02:12 +00:00
Olivier Lamy 8bf7b14a83 extract an interface to be able to override the impl in archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414452 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:50:13 +00:00
Olivier Lamy b23cf34cc0 rename UserConfiguration to DefaultUserConfiguration to be able to extract an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414451 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:48:18 +00:00
Olivier Lamy 4f810483e5 user manager now returns a description key to be able to customize label on ui side
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1413019 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 18:33:52 +00:00
Olivier Lamy f0b5140e1a return real bean id and add a flag to say if users can choose this implementation or not
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1413018 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 18:32:55 +00:00
Olivier Lamy 9b5bc72ae7 make possible to change the userManagerImpl
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412941 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 16:26:27 +00:00
Olivier Lamy a0bf39d5b5 remove @version
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412940 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 16:26:10 +00:00
Olivier Lamy 5c0d601c8f [MRM-1714] using LDAP can be configurable with the ui.
prepare redback

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412808 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 10:10:28 +00:00
Olivier Lamy 781c294599 return updated user and un comment tested code
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412794 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:29:18 +00:00
Olivier Lamy daeecfa8a0 [MRM-1708] When using LDAP, users can still edit their details upon login.
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412793 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:28:48 +00:00
Olivier Lamy d852fe3356 reduce logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412693 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 22:16:43 +00:00
Olivier Lamy 318e1f0ea6 remove this ugly Object getPrincipal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412684 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:55:21 +00:00
Olivier Lamy 5825a992f9 do not use harcoded userManager impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412680 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:52:50 +00:00
Olivier Lamy a9ae52e2ac remove some system.out
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412335 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:29:59 +00:00
Olivier Lamy 8fe7aa3f27 cleanup spring file
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1411937 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:56:50 +00:00
Olivier Lamy c2daa5339d fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1411935 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:55:11 +00:00
Olivier Lamy d259975451 [MRM-1713] users list when using ldap doesn't work
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1411933 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:54:58 +00:00
Olivier Lamy fc119b9d05 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1390503 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 14:06:24 +00:00
Olivier Lamy 1b92f2a311 [maven-release-plugin] prepare release redback-2.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1390501 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 14:06:04 +00:00