Commit Graph

642 Commits

Author SHA1 Message Date
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 30bc1f3ad8 use getUsername rather than getPrincipal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433465 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 15:43:29 +00:00
Olivier Lamy 17f4210d6c use userManager#configurable rather than userManager#cached
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433462 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 15:40:02 +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 4d82b78fc1 svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433436 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 14:27:27 +00:00
Olivier Lamy 2bf7b343ee remove empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433435 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 14:26:59 +00:00
Olivier Lamy 0a6be89ea5 remove redback-authorization-ldap module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433422 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 14:05:15 +00:00
Olivier Lamy eacd24413f we use now dynamic rbac manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433420 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 14:02:16 +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 aa677e08c9 cxf 2.6.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433401 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:23:58 +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 43be70ac4e use new method
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433394 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:19:40 +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 b494ed5904 better javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430637 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 23:56:25 +00:00
Olivier Lamy 44232d70f6 fix get guest with ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430636 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 23:55:30 +00:00
Olivier Lamy 710b4632d7 fix default groupdn
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430635 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 23:55:16 +00:00
Olivier Lamy 05703e5a23 default groupsdb is basedn
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430626 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 23:20:25 +00:00
Olivier Lamy df8c052256 this parameter is a String not Object
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430613 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:47:59 +00:00
Olivier Lamy c5c9a51959 better toString for debuging purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430609 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:47:43 +00:00
Olivier Lamy 8dbdf40af5 get ldap mapping if existing from security.properties
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430608 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:47:29 +00:00
Olivier Lamy d63d6355f1 only use concerned subset
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430604 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:47:05 +00:00
Olivier Lamy c52ea479b3 [MRM-1736] map roles to ldap groups
remove hardcoded tests !

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430603 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:46:52 +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 6af58add56 test with registry snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430179 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 08:56:45 +00:00
Olivier Lamy 5fd861a00a remove empty directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429887 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:39:41 +00:00
Olivier Lamy 67408813b1 basic svn:ignore for new module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429881 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:24:12 +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 f090555931 implements Serializable for that: noted an issue with tomcat
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429446 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 00:42:03 +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 82cc7f0c36 not display password in logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429317 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 15:29:10 +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 860be7f218 better toString for debuging purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429304 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 15:07:38 +00:00
Olivier Lamy 55dddc8bc0 remove empty directories not removed by git svn
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429158 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 22:10:02 +00:00
Olivier Lamy 6e0cbad05e basic svn:ignore for new module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429157 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 22:09:11 +00:00
Olivier Lamy e373179e34 move to correct package
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429037 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:00:59 +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 63956ea49a use a generic name to be able to override it using spring alias
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429032 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 18:59:27 +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 f5554e0452 align constants names
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428909 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 14:56:08 +00:00