Commit Graph

68 Commits

Author SHA1 Message Date
Olivier Lamy 850575cd71 add method to get directly roles for a user
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433392 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:19:24 +00:00
Olivier Lamy eeab891d1b add more generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429835 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 15:16:21 +00:00
Olivier Lamy 7cb43e4a9b add more generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429817 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 14:40:32 +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 70d2aa24ed add some methods for dynamic selection of authorizer
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429312 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 15:15:12 +00:00
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 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 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 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 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 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
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
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
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