Commit Graph

568 Commits

Author SHA1 Message Date
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
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 520d2a5353 jackson version is defined in parent pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428497 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:33:48 +00:00
Olivier Lamy c4bd8f73d0 use a StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428495 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:31:35 +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 32019ebd9d basic svn:ignore for new module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428486 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:14:38 +00:00
Olivier Lamy 2916f47724 remove empty directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428485 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:13:44 +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 ea517a8c7f mojo version in pluginMngt in root pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428476 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:21 +00:00
Olivier Lamy 05a128bc6e use dynanic ldap port allocation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428475 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:13 +00:00
Olivier Lamy 56b338cb19 move user concerns to a specific package
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428474 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:03 +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 e1c0623d31 snippet for get rest user service
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428292 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 11:29:22 +00:00
Olivier Lamy 9b53cd4e29 formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428291 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 11:29:06 +00:00
Olivier Lamy 0fd70854be make initilialze method public for dynamic reload
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428125 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:50 +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