Commit Graph

107 Commits

Author SHA1 Message Date
Olivier Lamy 4f547460cf fix unit test 2014-04-11 15:57:52 +10:00
Olivier Lamy 7039fb8eb6 correctly clear caches 2014-04-11 11:13:26 +10:00
Olivier Lamy b524b55203 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1558685 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:25:47 +00:00
Olivier Lamy 6cdf2e135b [maven-release-plugin] prepare release redback-2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1558683 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:25:16 +00:00
Olivier Lamy 483019e90e upgrade ehcache version
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1544402 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 03:38:23 +00:00
Olivier Lamy 37e60bfc9c fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1539896 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 01:22:52 +00:00
Olivier Lamy 48c2af9ccd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479458 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 02:31:43 +00:00
Olivier Lamy 2ed2373b1e [maven-release-plugin] prepare release redback-2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479456 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 02:30:46 +00:00
Olivier Lamy 8e1fb80c64 use staged released versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479453 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 02:15:35 +00:00
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 239831dd69 cached rbac manager is not a final implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448562 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 09:33:12 +00:00
Olivier Lamy 675afb0725 add isReadOnly for RbacManager
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 08:55:08 +00:00
Olivier Lamy 8ad285a721 add some informations for ui dynamic choose for rbacmanager implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447149 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 08:51:06 +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 b1f8454b8e fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439711 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 00:09:10 +00:00
Olivier Lamy 0392abb261 remove duplicate code
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437806 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:51:59 +00:00
Olivier Lamy e8c9121897 honor useDefaultRoleName when searching all roles/groups from ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437805 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:51:43 +00:00
Olivier Lamy 54c5daeba3 add more caching for ldap roles
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437804 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:51:18 +00:00
Olivier Lamy f11ba97b41 add some caching for userAssignement in LdapRbacManager
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437326 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 10:31:19 +00:00
Olivier Lamy 0e3020b8b0 clear cache when erase is called
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437325 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 10:31:01 +00:00
Olivier Lamy df0a55dab7 if using useDefaultRoleName we must check role really exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437035 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:36:38 +00:00
Olivier Lamy e12772a856 make start user dn configurable
some use cn= or uid= or sn= etc..
so it's now configurable with default uid=

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436669 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:42:42 +00:00
Olivier Lamy bdb8a22269 implements those methods with ldap call
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436466 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 16:36:10 +00:00
Olivier Lamy aa0cbd265e use cache for ldap roles
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435593 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 16:38:38 +00:00
Olivier Lamy c40d920036 use faster method to check existence of a role
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435284 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 18:19:12 +00:00
Olivier Lamy 8c1281d905 remove non used field
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435279 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 17:59:19 +00:00
Olivier Lamy a02fa42251 map a ldap group to n roles
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433962 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 14:48:58 +00:00
Olivier Lamy 383a176278 reuse context when possible
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433712 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 22:32:09 +00:00
Olivier Lamy 1d6f00d786 methods already defined in parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433711 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 22:31:39 +00:00
Olivier Lamy a9f22f9180 prevent stackoverflow with archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433552 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 17:51:00 +00:00
Olivier Lamy 0a77938f85 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433493 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 16:23:38 +00:00
Olivier Lamy 843977e157 use a rbacManager#default rather than hardcoded impl to ease alias usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433460 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 15:39:45 +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 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