Commit Graph

186 Commits

Author SHA1 Message Date
Olivier Lamy 55720b9ce6 remove module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429036 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:00:41 +00:00
Olivier Lamy dd699e40f2 module not needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429034 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:00:29 +00:00
Olivier Lamy e12526fa50 move ldap role mapper to ldap common
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429033 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:00:15 +00:00
Olivier Lamy 07df166f7f add structure for redback-authorization-ldap new module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428994 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 17:33:43 +00:00
Olivier Lamy 37f469f651 no need to use toString on a String
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428649 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 22:36:52 +00:00
Olivier Lamy 3b26b412f0 caches not needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428614 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 21:43:23 +00:00
Olivier Lamy 9b89e0ec65 remove commented code
caching will be in LdapRbacManager.

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428613 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 21:43:12 +00:00
Olivier Lamy 94ee7125c3 improve performance to retrieve all groups of a user
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428612 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 21:42:57 +00:00
Olivier Lamy f7507f4aed cleanup test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428588 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 20:50:41 +00:00
Olivier Lamy 3baf51d440 baseDn can be different from groups dn
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428586 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 20:50:23 +00:00
Olivier Lamy be41cf4c55 cosmetic formatting changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428493 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:28:32 +00:00
Olivier Lamy c197d5bf5e improve unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428479 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:59 +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 72e1da8091 add a ldap role mapper
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428472 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:02:10 +00:00
Olivier Lamy 455093d86c this return a String so no need to do toString on Object
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428124 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:37 +00:00
Olivier Lamy b951dc02fd no need of synchronized block here
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428123 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:15 +00:00
Olivier Lamy fef0fdf2d4 remove not anymore needed cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428121 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:00 +00:00
Olivier Lamy 040229a607 remove not anymore needed cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428120 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:14:44 +00:00
Olivier Lamy 4dc5b15eee fix bean naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427884 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 18:05:45 +00:00
Olivier Lamy beeb4f5264 do not use printStackTrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427140 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:34:35 +00:00
Olivier Lamy 0a00f617a1 log time to init
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1423715 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 23:34:56 +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 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 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 5d166ecce8 rid of plexus utils usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417083 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:03 +00:00
Olivier Lamy cd099ede58 use last modello 1.6 for redback-rbac-role-manager to be use 1.5
jpox part has been removed from modello plugin so not possible ....

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1415426 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 22:50:42 +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 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 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 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 cbdc922f7d simplify code
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1398203 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 07:25:40 +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
Olivier Lamy 10a0d60b6e remove dependency to jcl-over-slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1382364 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 20:53:34 +00:00
skygo 6988265796 relax assert equals to a range check
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1380631 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 13:29:03 +00:00
skygo 49761b2fbf change scope for constants in unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1380585 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 12:02:40 +00:00
skygo 88233aff69 refactoring of redback-rbac tests
handle CachedRbacManagerTest.java a different way.

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1380551 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 11:05:57 +00:00
skygo 253848bd34 continue to check for jdk7 unit test
try to change order of test to emphase non independant tests

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1380277 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 15:50:50 +00:00
skygo ec1318b47c some fix for rbac provider test and jdk 7
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1380002 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 16:01:16 +00:00
Olivier Lamy 4721790e70 use synchronized block only when data are not in the cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1373648 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 21:56:05 +00:00
Olivier Lamy 9fb355ff92 better generic
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1373647 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 21:55:43 +00:00
Olivier Lamy f2d0b3edc6 add generic
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1373645 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 21:55:23 +00:00
Brett Porter e5af660c27 [REDBACK-298] Concurrent modification to roles in Redback can cause incorrect
results to get cached


git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1371658 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 11:20:42 +00:00
Olivier Lamy 83d4f636d2 remove $Id$
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1371172 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 11:48:47 +00:00
Olivier Lamy e4fca67d31 StringBuilder rather than StringBuffer
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1370988 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 22:00:29 +00:00
Olivier Lamy c7ed8b9e0e no more of stax we are 1.6 required
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1370408 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 18:10:59 +00:00
Olivier Lamy 81cf72dcc1 no need of all of those stax api lib as we are now 1.6 required
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1370407 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 18:10:44 +00:00
Jean-Baptiste Onofre 2671e49a8a [MRM-1651] Add OSGi support to redback-authorization-rbac
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367647 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 16:05:53 +00:00
Jean-Baptiste Onofre 9ddc5302e8 [MRM-1651] Add OSGi support to redback-rbac-role-manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367635 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:59:57 +00:00
Jean-Baptiste Onofre e2b56d8717 [MRM-1561] Add OSGi support to redback-rbac-cached
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367627 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:54:11 +00:00
Jean-Baptiste Onofre 017f38ae34 [MRM-1651] Add OSGi support to redback-rbac-memory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367625 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:51:48 +00:00
Jean-Baptiste Onofre f9e17380bc [MRM-1651] Add OSGi support to redback-rbac-jdo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367606 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:13:49 +00:00
Jean-Baptiste Onofre 9cef261ef1 [MRM-1651] Add OSGi support to redback-rbac-model
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367603 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:09:53 +00:00
Olivier Lamy 8d0946d1a0 remove @version $Id$
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1357910 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:03:45 +00:00
Olivier Lamy 91321c274c repackage spring-registry-commons to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1325319 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:24:30 +00:00
Olivier Lamy f4f7866996 use o.a.a package namespace for spring-jdo2 component
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1324919 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 19:15:44 +00:00
Olivier Lamy fc4295ae21 use o.a.a package namespace for spring-cache-ehcache component
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1324640 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 08:46:02 +00:00
Olivier Lamy 14369f149d spring-cache move to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1324625 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 08:24:26 +00:00
Olivier Lamy 2a7f3b7e74 use spring cache from apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311976 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 20:39:48 +00:00
Olivier Lamy f9bb0bdc3d other repackaging to o.a.a.r
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311416 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 20:23:55 +00:00
Olivier Lamy d5640c38c8 package change for redback-rbac-role-manager generated classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311407 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 20:06:31 +00:00
Olivier Lamy 2651e1ca51 package change for redback-rbac-jdo generated classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311398 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:43:58 +00:00
Olivier Lamy 43dd99f256 package move to o.a.a.r module redback-rbac-tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310913 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:14:57 +00:00
Olivier Lamy 07f4310c39 package move to o.a.a.r module redback-rbac-role-manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310911 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:10:59 +00:00
Olivier Lamy 7ea8057972 package move to o.a.a.r module redback-rbac-memory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310908 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:00:01 +00:00
Olivier Lamy 7647b413c8 package move to o.a.a.r module redback-rbac-jdo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310907 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:57:13 +00:00
Olivier Lamy 8d2aa42a65 package move to o.a.a.r module redback-rbac-cached
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310903 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:53:09 +00:00
Olivier Lamy 91af10462c package move to o.a.a.r module redback-authorization-rbac
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310901 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:49:09 +00:00
Olivier Lamy d8b7884675 package move to o.a.a.r module redback-rback-model
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310899 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:34:36 +00:00
Olivier Lamy b876810287 package move to o.a.a.r module redback-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310877 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 21:36:01 +00:00
Olivier Lamy 35fa98b376 package move to o.a.a.r module redback-common-jdo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310867 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 21:07:37 +00:00
Olivier Lamy 9494bac7fa package move to o.a.a.r module redback-authorization-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310861 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 20:50:23 +00:00
Olivier Lamy fbc8a35f03 package move to o.a.a.r
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310785 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 15:13:38 +00:00
Olivier Lamy 3b0ae7e689 start moving package to org.apache.archiva namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310759 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 13:12:48 +00:00
Olivier Lamy a374be31ca bump version to 2.0-SNAPSHOT due to groupId change
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310480 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:56:00 +00:00
Olivier Lamy 2efaa4ca15 change groupId from org.codehaus.redback to org.apache.archiva.redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310478 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:54:00 +00:00
Olivier Lamy fec700de27 fix license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310448 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:23:16 +00:00
Olivier Lamy 65f9a12cd4 license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310399 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:19:28 +00:00
Olivier Lamy 91176b3d16 license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310393 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:16:55 +00:00
Olivier Lamy 41c44f1c37 license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310390 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:12:53 +00:00
Olivier Lamy 0ce2ba93a2 license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310388 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:09:42 +00:00
Olivier Lamy 10c2f54c40 license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310369 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 14:55:37 +00:00
Olivier Lamy 1a1d78a537 fix pom license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310308 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 12:54:20 +00:00
Olivier Lamy 41b6251c04 remove empty directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310286 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 11:53:46 +00:00
Olivier Lamy 5b06b6673e import of redback core sources
http://svn.codehaus.org/redback/redback/trunk/ r1724



git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310268 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 09:58:14 +00:00