Olivier Lamy
b524b55203
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1558685 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:25:47 +00:00
Olivier Lamy
6cdf2e135b
[maven-release-plugin] prepare release redback-2.2
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1558683 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:25:16 +00: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
4c65d80ad5
fix logging info level
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1546882 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 02:55:43 +00:00
Olivier Lamy
48c2af9ccd
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479458 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 02:31:43 +00:00
Olivier Lamy
2ed2373b1e
[maven-release-plugin] prepare release redback-2.1
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479456 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 02:30:46 +00:00
Olivier Lamy
4a57b05074
move LdapConnection to an interface
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477971 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:19:20 +00:00
Olivier Lamy
4ecba94f20
rename to default to have an interface
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477968 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:17:23 +00:00
Olivier Lamy
75b4882d44
use a more traditionnal naming convention with #default
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1452590 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 23:14:35 +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
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
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
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
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
856e7d19ba
for security reasons prevent displaying messages such "Password is Invalid for user admin"
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1423699 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 22:43:52 +00:00
Olivier Lamy
ceba9d2afe
missed to add a class
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421471 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:04:36 +00:00
Olivier Lamy
d37b46e5c7
expose intialize method for Authenticator to make it reloadable
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421469 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:04:16 +00:00
Olivier Lamy
9d770f468a
add new constants
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421131 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:35:09 +00:00
Olivier Lamy
6d9972fcf9
revert bad idea sub classes do not need to know parent class implementation details
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421130 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:34:54 +00:00
Olivier Lamy
fedd4fc720
move this field to protected for sub class access too
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421129 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:34:35 +00:00
Olivier Lamy
f6e14ae1a6
make this logger protected for sub classes access
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421128 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:34:16 +00:00
Olivier Lamy
30c1cfa2a4
UserManagerException is now a checked Exception
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419568 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:34:46 +00:00
Olivier Lamy
8dbb9a32ff
more natural place for this module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417913 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:32:45 +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
1d47163f9d
take of having all authenticator exceptions returned
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416980 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 15:07:13 +00:00
Olivier Lamy
eed51a9447
not use a RuntimeException when fail to connect to ldap exception is not know by caller methods
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416978 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 15:06:42 +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
d852fe3356
reduce logs
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412693 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 22:16:43 +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
0981c39071
add serialVersionUID for AuthenticationResult class
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412682 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:53:08 +00:00
Olivier Lamy
5825a992f9
do not use harcoded userManager impl
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412680 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:52:50 +00:00
Olivier Lamy
663473b58d
storing User in AuthenticationResult to avoid searching it again
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412362 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 23:35:09 +00:00
Olivier Lamy
84a2a1855d
remove FIXME as it has been fixed!
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412361 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 23:34:32 +00:00
Olivier Lamy
7ae8bd4451
use real type here to have more readable code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412360 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 23:34:11 +00:00
Olivier Lamy
55100bb1b7
cleanup properties file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412341 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:31:30 +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
Olivier Lamy
83d4f636d2
remove $Id$
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1371172 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 11:48:47 +00:00
Olivier Lamy
e4fca67d31
StringBuilder rather than StringBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1370988 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 22:00:29 +00:00
Jean-Baptiste Onofre
b86cd7c849
[MRM-1651] Improve OSGi statement introducing version range
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1370486 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 20:06:43 +00:00
Olivier Lamy
521efcac02
add missing slf4j binding to prevent using noop
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367954 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 12:25:08 +00:00
Jean-Baptiste Onofre
ef1c6263db
[MRM-1651] Add OSGi support to redback-authentication-open
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367575 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:29:41 +00:00
Jean-Baptiste Onofre
d5f68f0b4a
[MRM-1651] Add OSGi support in redback-authentication-memory
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367574 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:25:50 +00:00
Jean-Baptiste Onofre
07f2a9ca47
[MRM-1651] Simplify the OSGi statements
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367573 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:25:39 +00:00
Jean-Baptiste Onofre
ecc8041b85
[MRM-1651] Add OSGi support to redback-authentication-ldap
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367563 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:09:41 +00:00
Jean-Baptiste Onofre
e107da72ac
[MRM-1651] Add OSGi support in redback-authentication-api
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367556 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:02:13 +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
91321c274c
repackage spring-registry-commons to o.a.a namespace
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1325319 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:24:30 +00:00