Olivier Lamy
99c35ed4bb
add mock for testing
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1449388 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 18:36:55 +00:00
Olivier Lamy
dfca551caf
as we can chain various user managers with Archiva
...
user manager authenticator can lock accounts in the following case :
2 user managers: ldap and jdo.
ldap correctly find the user but cannot compare hashed password
jdo reject password so increase loginAttemptCount
now ldap bind authenticator work but loginAttemptCount has been increased.
so we restore here loginAttemptCount to 0 if in authenticationFailureCauses
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1449386 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 18:36:40 +00:00
Olivier Lamy
7bcf37568d
skip generation date for fluido skin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1449358 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 16:23:36 +00:00
Olivier Lamy
88df057071
correctly re initialize model
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448647 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:15:33 +00:00
Olivier Lamy
170bb815ea
fix initialise call once application has already been started
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448646 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:15:19 +00:00
Olivier Lamy
239831dd69
cached rbac manager is not a final implementation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448562 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 09:33:12 +00:00
Olivier Lamy
c38e94efb2
initialize method in interface
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448468 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 23:14:48 +00:00
Olivier Lamy
307235f416
snapshot repo not anymore needed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447637 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 09:01:35 +00:00
Olivier Lamy
71f925f5f3
use modello 1.7 released version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447636 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 09:01:26 +00:00
Olivier Lamy
ba4a9e0ee1
ehcache 2.6.3
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447467 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:29:37 +00:00
Olivier Lamy
303be01cd0
tomcat 7.0.37
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447293 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:07:38 +00:00
Olivier Lamy
675afb0725
add isReadOnly for RbacManager
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 08:55:08 +00:00
Olivier Lamy
9bd08cae46
[MRM-1747] really use last modello snapshot
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447150 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 08:51:15 +00:00
Olivier Lamy
8ad285a721
add some informations for ui dynamic choose for rbacmanager implementations
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1447149 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 08:51:06 +00:00
Olivier Lamy
ad7c8469aa
add modello snapshots repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1446827 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 00:41:51 +00:00
Olivier Lamy
b2c48de92e
[MRM-1747] upgrade to last modello.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1446826 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 00:41:41 +00:00
Olivier Lamy
490f1f5656
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1445541 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:19:24 +00:00
Olivier Lamy
c8f8efdf82
cxf 2.6.6
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1443468 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 13:38:31 +00:00
Olivier Lamy
473f6723be
prevent possible ConcurrentModificationException
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1443251 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:40:31 +00:00
Olivier Lamy
8cdee9cde3
force bean name to prevent failure in case multiple implementations
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1442628 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 15:39:43 +00:00
Olivier Lamy
7ba48cf494
ensure a named bean is used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441828 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 23:06:40 +00:00
Olivier Lamy
b949895ed7
more unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441488 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:30:59 +00:00
Olivier Lamy
75fa37a3de
add more tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441487 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:30:35 +00:00
Olivier Lamy
88be2c7375
really add test !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441486 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:30:18 +00:00
Olivier Lamy
181ce6f02c
add unit test for LdapGroupMappingService
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441485 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:29:58 +00:00
Olivier Lamy
b7b1e8e769
log4j beta 4
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441484 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:29:20 +00:00
Olivier Lamy
39f67f0dc1
osgi metadatas
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440669 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:07:12 +00:00
Olivier Lamy
69006984c4
add javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440556 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:49:01 +00:00
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
9086d2f5fc
use a better name for the interface
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440549 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:43:13 +00:00
Olivier Lamy
35533aa7fc
add new services for ldap mapping via the ui
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440548 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:42:45 +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
b1f8454b8e
fix compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439711 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 00:09:10 +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
4408f7816c
spring 3.2.1
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1438762 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 23:32:41 +00:00
Olivier Lamy
0392abb261
remove duplicate code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437806 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:51:59 +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
54c5daeba3
add more caching for ldap roles
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437804 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:51:18 +00:00
Olivier Lamy
f11ba97b41
add some caching for userAssignement in LdapRbacManager
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437326 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 10:31:19 +00:00
Olivier Lamy
0e3020b8b0
clear cache when erase is called
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437325 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 10:31:01 +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
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
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