Olivier Lamy
|
9340fb401e
|
add default in memory implementation for testing purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440552 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-30 17:46:43 +00:00 |
Olivier Lamy
|
93b6a7718d
|
cleanup interface and add default implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440551 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-30 17:46:05 +00:00 |
Olivier Lamy
|
b10b504562
|
change signatures to ease ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440547 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-30 17:42:14 +00:00 |
Olivier Lamy
|
921d02c1ad
|
add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439704 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-28 23:58:12 +00:00 |
Olivier Lamy
|
17c7f540f3
|
add classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439701 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-28 23:55:10 +00:00 |
Olivier Lamy
|
ef0cad75d3
|
extract to a component to ease override with Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439700 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-28 23:54:54 +00:00 |
Olivier Lamy
|
e8c9121897
|
honor useDefaultRoleName when searching all roles/groups from ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437805 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-23 23:51:43 +00:00 |
Olivier Lamy
|
df0a55dab7
|
if using useDefaultRoleName we must check role really exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437035 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-22 16:36:38 +00:00 |
Olivier Lamy
|
078b26ba3c
|
do not add group as role
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437034 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-22 16:36:08 +00:00 |
Olivier Lamy
|
26afe7802f
|
ensure using default role names when configured
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436685 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-21 23:11:33 +00:00 |
Olivier Lamy
|
931c1cd295
|
fix user dn when adding user to a group
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436674 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-21 22:44:00 +00:00 |
Olivier Lamy
|
a30eb5b561
|
fix user dn when adding user to a group
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436673 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-21 22:43:45 +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
|
8c1281d905
|
remove non used field
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435279 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-18 17:59:19 +00:00 |
Olivier Lamy
|
83928256b5
|
take care of already existing group so do not fail
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1434059 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-16 17:29:39 +00:00 |
Olivier Lamy
|
0c104fb59a
|
typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433979 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-16 15:20:38 +00:00 |
Olivier Lamy
|
0b09f58b18
|
add unit test for hasRole
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433978 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-16 15:16:43 +00:00 |
Olivier Lamy
|
1222b2b217
|
catch NameNotFoundException to return false as we check a group existence
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433977 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-16 15:16:28 +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
|
383a176278
|
reuse context when possible
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433712 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 22:32:09 +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
|
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 |
Olivier Lamy
|
4db2a98ceb
|
license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310352 13f79535-47bb-0310-9956-ffa450edef68
|
2012-04-06 14:38:24 +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 |