Commit Graph

100 Commits

Author SHA1 Message Date
Olivier Lamy abefbdb136 fix compilation issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433402 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:24:14 +00:00
Olivier Lamy 18dbda5efb ldap rbacmanager pass tck
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433400 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:23:50 +00:00
Olivier Lamy fe2ebb0961 ldap rbacmanager still 2 issues to fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433399 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:23:25 +00:00
Olivier Lamy 631814268a fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433398 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:22:52 +00:00
Olivier Lamy ac75e9747f fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433397 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:22:31 +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 56f7b83925 add ldap rbac manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433395 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:20:57 +00:00
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 066e356045 [MRM-1736] map roles to ldap groups
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430601 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:46:30 +00:00
Olivier Lamy 2ab87f1907 move this module in the correct place
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429879 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:23:14 +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 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