Commit Graph

53 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 32df571259 use indexOf(char)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427141 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:34:49 +00:00
Olivier Lamy 55ebedebde make more sense to have this cookie expire value in days
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424209 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 23:05:17 +00:00
Olivier Lamy 8e5d19325d remove password from toString method
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421464 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:03:07 +00:00
Olivier Lamy ea77187178 add a method to be able to test a LdapConnectionConfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421463 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:02:47 +00:00
Olivier Lamy 88e6fb2c2a make initialize method public to be able to re initiliaze ldap configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419886 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 23:57:34 +00:00
Olivier Lamy 5b8146ea0c oups fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419844 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 22:39:09 +00:00
Olivier Lamy 8e5b125dfb make that more easy to override
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419841 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 22:33:25 +00:00
Olivier Lamy 610002ab5f user now track userManagerImpl id they come from
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418716 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:40:08 +00:00
Olivier Lamy 5c55300800 userConfiguration#default bean must be know declared tru an alias to avoid duplicate bean ids
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417908 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:31:05 +00:00
Olivier Lamy 2907ffa101 use a more classic name for this bean userConfiguration#default
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417782 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 09:09:45 +00:00
Olivier Lamy f66c4d295a moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417537 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:21:51 +00:00
Olivier Lamy 6818a0097e use a 'namespace' for user
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417397 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:57:13 +00:00
Olivier Lamy 3c6f8dc455 moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417396 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:48 +00:00
Olivier Lamy b776125532 remove non use constructor
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414472 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 23:43:28 +00:00
Olivier Lamy 8bf7b14a83 extract an interface to be able to override the impl in archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414452 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:50:13 +00:00
Olivier Lamy b23cf34cc0 rename UserConfiguration to DefaultUserConfiguration to be able to extract an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414451 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:48:18 +00:00
Olivier Lamy 318e1f0ea6 remove this ugly Object getPrincipal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412684 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:55:21 +00:00
Olivier Lamy fc119b9d05 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1390503 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 14:06:24 +00:00
Olivier Lamy 1b92f2a311 [maven-release-plugin] prepare release redback-2.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1390501 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 14:06:04 +00:00
Jean-Baptiste Onofre 68120f1781 [MRM-1651] Resume enhancement of the OSGi statements
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1371034 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 03:37:17 +00:00
Jean-Baptiste Onofre fda241dab6 [MRM-1651] Add OSGi support to redback-common-ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367591 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:57:15 +00:00
Jean-Baptiste Onofre 42e0ef0316 [MRM-1651] Add OSGi support to redback-common-jdo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367588 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:50:35 +00:00
Olivier Lamy 8d0946d1a0 remove @version $Id$
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1357910 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:03:45 +00:00
Olivier Lamy c2d6f8a2c8 remove animal sniffer we are now 1.6
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1350638 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 14:32:35 +00:00
Olivier Lamy de539f237e use hsql for unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1343669 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 11:23:42 +00:00
Olivier Lamy 6c6987cc12 use only derby in memory for test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1343640 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 10:04:32 +00:00
Olivier Lamy f4f7866996 use o.a.a package namespace for spring-jdo2 component
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1324919 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 19:15:44 +00:00
Olivier Lamy 49f64b72e3 use spring jdo2 from apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1312032 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 22:49:46 +00:00
Olivier Lamy 74f6bf2d6a no more need of the ROLE field
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311456 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 21:18:55 +00:00
Olivier Lamy b876810287 package move to o.a.a.r module redback-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310877 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 21:36:01 +00:00
Olivier Lamy e3b859bf77 package move to o.a.a.r module redback-common-test-resources
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310876 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 21:30:25 +00:00
Olivier Lamy 4d7d7f4731 package move to o.a.a.r module redback-common-ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310870 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 21:21:24 +00:00
Olivier Lamy 35fa98b376 package move to o.a.a.r module redback-common-jdo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310867 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 21:07:37 +00:00
Olivier Lamy 3b0ae7e689 start moving package to org.apache.archiva namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310759 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 13:12:48 +00:00
Olivier Lamy a374be31ca bump version to 2.0-SNAPSHOT due to groupId change
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310480 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:56:00 +00:00
Olivier Lamy 2efaa4ca15 change groupId from org.codehaus.redback to org.apache.archiva.redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310478 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:54:00 +00:00
Olivier Lamy 10c2f54c40 license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310369 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 14:55:37 +00:00