Commit Graph

799 Commits

Author SHA1 Message Date
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 490f1f5656 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1445541 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:19:24 +00:00
Olivier Lamy c8f8efdf82 cxf 2.6.6
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1443468 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 13:38:31 +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 8cdee9cde3 force bean name to prevent failure in case multiple implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1442628 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 15:39:43 +00:00
Olivier Lamy 7ba48cf494 ensure a named bean is used
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441828 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 23:06:40 +00:00
Olivier Lamy b949895ed7 more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441488 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:30:59 +00:00
Olivier Lamy 75fa37a3de add more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441487 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:30:35 +00:00
Olivier Lamy 88be2c7375 really add test !
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441486 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:30:18 +00:00
Olivier Lamy 181ce6f02c add unit test for LdapGroupMappingService
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441485 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:29:58 +00:00
Olivier Lamy b7b1e8e769 log4j beta 4
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441484 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:29:20 +00:00
Olivier Lamy 39f67f0dc1 osgi metadatas
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440669 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:07:12 +00:00
Olivier Lamy 69006984c4 add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440556 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:49:01 +00:00
Olivier Lamy 9340fb401e add default in memory implementation for testing purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440552 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:46:43 +00:00
Olivier Lamy 93b6a7718d cleanup interface and add default implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440551 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:46:05 +00:00
Olivier Lamy 9086d2f5fc use a better name for the interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440549 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:43:13 +00:00
Olivier Lamy 35533aa7fc add new services for ldap mapping via the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440548 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:42:45 +00:00
Olivier Lamy b10b504562 change signatures to ease ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440547 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:42:14 +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 921d02c1ad add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439704 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:58:12 +00:00
Olivier Lamy 17c7f540f3 add classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439701 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:55:10 +00:00
Olivier Lamy ef0cad75d3 extract to a component to ease override with Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439700 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:54:54 +00:00
Olivier Lamy 4408f7816c spring 3.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1438762 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 23:32:41 +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 078b26ba3c do not add group as role
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437034 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:36:08 +00:00
Olivier Lamy 50515a3daf bad idea :-(
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436967 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:41:34 +00:00
Olivier Lamy 86323ee147 guest role is Guest: ldap is case sensitive !
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436966 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:41:12 +00:00
Olivier Lamy 26afe7802f ensure using default role names when configured
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436685 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 23:11:33 +00:00
Olivier Lamy 931c1cd295 fix user dn when adding user to a group
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436674 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:44:00 +00:00
Olivier Lamy a30eb5b561 fix user dn when adding user to a group
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436673 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:43:45 +00:00
Olivier Lamy 273b8f6ff0 use warn rather than debug to show more informations in log
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436672 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:43:30 +00:00
Olivier Lamy a7c4bd1d97 LdapUserManagr can be not readOnly depending on configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436671 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:43:14 +00:00
Olivier Lamy 8e61f56f9d prevent NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436670 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:42:59 +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 ad11bd30a0 last ehcache 2.5.7
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435210 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 16:02:20 +00:00
Olivier Lamy 51eeaee59e osgi my love
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435206 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 15:55:17 +00:00
Olivier Lamy cf426b9c63 add timing here
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435205 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 15:55:06 +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 83928256b5 take care of already existing group so do not fail
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1434059 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 17:29:39 +00:00
Olivier Lamy 8ca421a01e tomcat 7.0.35
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1434043 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 17:12:20 +00:00
Olivier Lamy 0c104fb59a typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433979 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 15:20:38 +00:00