32 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
12919d4171 package move to o.a.a.r module redback-policy
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310894 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:28:59 +00:00
Olivier Lamy
dae270ec28 spring 3.0 xsd
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310850 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:58:56 +00:00
Olivier Lamy
04fd892682 package move to o.a.a.r module redback-authentication-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310844 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:55:10 +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
0f453f2843 license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310364 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 14:49:22 +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