Olivier Lamy
|
c95acb2ed6
|
optimize a bit to not ask roles in the loop
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435204 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-18 15:54:50 +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
|
8ca421a01e
|
tomcat 7.0.35
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1434043 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-16 17:12:20 +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
|
911538263c
|
more detail in exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433743 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 23:48:15 +00:00 |
Olivier Lamy
|
50dde95a6a
|
remove non needed cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433723 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 22:50: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
|
1d6f00d786
|
methods already defined in parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433711 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 22:31:39 +00:00 |
Olivier Lamy
|
a9f22f9180
|
prevent stackoverflow with archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433552 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 17:51:00 +00:00 |
Olivier Lamy
|
0a77938f85
|
fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433493 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 16:23:38 +00:00 |
Olivier Lamy
|
1fc195783e
|
move initialize method to the interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433480 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 16:03:53 +00:00 |
Olivier Lamy
|
30bc1f3ad8
|
use getUsername rather than getPrincipal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433465 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 15:43:29 +00:00 |
Olivier Lamy
|
17f4210d6c
|
use userManager#configurable rather than userManager#cached
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433462 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 15:40:02 +00:00 |
Olivier Lamy
|
843977e157
|
use a rbacManager#default rather than hardcoded impl to ease alias usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433460 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 15:39:45 +00:00 |
Olivier Lamy
|
4d82b78fc1
|
svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433436 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 14:27:27 +00:00 |
Olivier Lamy
|
2bf7b343ee
|
remove empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433435 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 14:26:59 +00:00 |
Olivier Lamy
|
0a6be89ea5
|
remove redback-authorization-ldap module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433422 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 14:05:15 +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
|
abefbdb136
|
fix compilation issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433402 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 13:24:14 +00:00 |
Olivier Lamy
|
aa677e08c9
|
cxf 2.6.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433401 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 13:23:58 +00:00 |
Olivier Lamy
|
18dbda5efb
|
ldap rbacmanager pass tck
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433400 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 13:23:50 +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
|
631814268a
|
fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433398 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 13:22:52 +00:00 |
Olivier Lamy
|
ac75e9747f
|
fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433397 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 13:22:31 +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
|
43be70ac4e
|
use new method
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433394 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-15 13:19:40 +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
|
b494ed5904
|
better javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430637 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-08 23:56:25 +00:00 |
Olivier Lamy
|
44232d70f6
|
fix get guest with ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430636 13f79535-47bb-0310-9956-ffa450edef68
|
2013-01-08 23:55:30 +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
|
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 |