Commit Graph

46 Commits

Author SHA1 Message Date
Martin Stockhammer 2add792524 Set JPA as default and only database backend
Remove JDO dependencies and set the JPA implementations as only implementation
for database backend providers. Uses the same database as JDO before.
2016-12-30 15:33:17 +01:00
Mat Jaggard e546fe3bc0 Allowing filtering of LDAP groups 2015-10-23 11:01:44 +01:00
Jeroen Hoek 1e5c5675a7 Work with users defined in LDAP posixGroups.
Add a configuration key LDAP_DN_ATTRIBUTE
2014-10-07 13:18:41 +02:00
Olivier Lamy cfcc2b4d8b fix logging warn level
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1546883 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 02:56:08 +00:00
Olivier Lamy 21834d0808 [MRM-1791] ldap group mapping support for active directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1539894 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 01:22:14 +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 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 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 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 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 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 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