Commit Graph

50 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 bcfecde0c8 add a secure cookie property for rememberme
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424222 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 23:32:52 +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 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 dde5f4a956 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417538 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:22:16 +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 498776efeb use a new Exception registryException is an implementation detail exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417398 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:57:29 +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 eef9c73382 start moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417395 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:03 +00:00
Olivier Lamy 59dd656a88 minor format change
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417394 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:55:13 +00:00
Olivier Lamy 5d166ecce8 rid of plexus utils usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417083 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:03 +00:00
Olivier Lamy 1814062734 add javadoc comment and @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414471 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 23:43:10 +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 f22c79fe22 add an alias to be to access to the original when we override the bean in archiva.
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414237 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 15:56:57 +00:00
Olivier Lamy 69b4275302 made jdo default user manager impl.
As cached can used configurable which use cached too so stackoverflow !

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412342 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:31:45 +00:00
Olivier Lamy cbdc922f7d simplify code
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1398203 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 07:25:40 +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 8b0de7eeaf [MRM-1651] Add OSGi support to redback-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367580 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:46:34 +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 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 af0f4d5519 move expression evaluator to o.a.a package namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1328691 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 15:27:26 +00:00
Olivier Lamy 6d4aa90c9d use expression evaluator new coordinate
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1327302 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 21:53:51 +00:00
Olivier Lamy 6db9840439 fix compilation failure due to package change
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1325345 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 16:10:30 +00:00
Olivier Lamy eb74dac5bb fix new groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1325338 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:59:57 +00:00
Olivier Lamy 36556ca46f other repackaging to o.a.a.r
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311417 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 20:25:36 +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 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 fec700de27 fix license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310448 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:23:16 +00:00
Olivier Lamy 79d1bd23a6 redback-configuration module fix license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310326 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 13:50:12 +00:00
Olivier Lamy 1a1d78a537 fix pom license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310308 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 12:54:20 +00:00
Olivier Lamy 5b06b6673e import of redback core sources
http://svn.codehaus.org/redback/redback/trunk/ r1724



git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310268 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 09:58:14 +00:00