Commit Graph

143 Commits

Author SHA1 Message Date
Olivier Lamy cfcc2b4d8b fix logging warn level
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1546883 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 02:56:08 +00:00
Olivier Lamy 4c65d80ad5 fix logging info level
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1546882 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 02:55:43 +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
Brett Porter 3e2ec99b99 fix Sonar violation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1496795 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 07:01:39 +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 500290d6a1 fix logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1471397 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 13:14:58 +00:00
Olivier Lamy 420044caa5 prevent issues when changing role manager implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1471396 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 13:14:37 +00:00
Olivier Lamy 88df057071 correctly re initialize model
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448647 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:15:33 +00:00
Olivier Lamy 170bb815ea fix initialise call once application has already been started
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448646 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:15:19 +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 c38e94efb2 initialize method in interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448468 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 23:14:48 +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 9bd08cae46 [MRM-1747] really use last modello snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447150 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 08:51:15 +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 473f6723be prevent possible ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1443251 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:40:31 +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 c95acb2ed6 optimize a bit to not ask roles in the loop
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435204 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 15:54:50 +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 911538263c more detail in exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433743 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 23:48:15 +00:00
Olivier Lamy 50dde95a6a remove non needed cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433723 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 22:50: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 1fc195783e move initialize method to the interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433480 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 16:03:53 +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 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