Commit Graph

60 Commits

Author SHA1 Message Date
Martin Stockhammer 15ad042ac1 Adding refresh token for authentication 2020-07-12 21:03:37 +02:00
Martin Stockhammer c51c28a303 Adding Bearer token authentication for REST services 2020-07-12 10:29:55 +02:00
Martin Stockhammer 9ca5514bed Adding implementation of JWT token authentication 2020-07-09 22:27:33 +02:00
Martin Stockhammer ab874fecc9 Moving to jakarta libraries 2020-07-04 16:59:49 +02:00
withthewind 9f450f4d1b Optimize the fetch millisecond problem 2019-12-16 10:18:38 +08:00
Martin Stockhammer 333882949c Cleanup of dependencies 2019-12-12 20:41:26 +01:00
Martin Stockhammer 9decf5af0a Removing unused dependency from redback-authentication-api 2019-10-10 18:31:59 +02:00
Martin Stockhammer ee83a40490 Switching to junit 5 dependencies 2019-10-06 17:40:28 +02:00
olivier lamy 714f508973 no more bundle as no one use that and this just stuck the build on Jenkins....
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-30 12:04:10 +10:00
Martin Stockhammer 91c147513f Changes for site git migration 2018-11-11 10:02:27 +01:00
olivier lamy 21d22c01e2 bump version to 3.0.0-SNAPSHOT
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-24 21:55:03 +10:00
Martin Stockhammer 419f5f3e9f [maven-release-plugin] prepare for next development iteration 2017-05-11 20:58:53 +02:00
Martin Stockhammer 419239b15b [maven-release-plugin] prepare release redback-2.6 2017-05-11 20:58:44 +02:00
Martin Stockhammer 53d0ccaaf3 [maven-release-plugin] prepare for next development iteration 2017-04-20 21:04:30 +02:00
Martin Stockhammer 966bb86695 [maven-release-plugin] prepare release redback-2.5 2017-04-20 21:04:21 +02:00
Martin Stockhammer a6ceb38469 Using random iv vector to generate unique tokens for each login 2017-02-12 17:09:15 +01:00
Martin Stockhammer de5816adf0 Adding validation token generator got login 2017-02-12 14:02:01 +01:00
Martin Stockhammer 78d822d145 Fixing validation error in unit tests 2016-10-16 17:18:42 +02:00
Martin Stockhammer 2aa6cdf6c6 Adding flag for authenticator to avoid autowiring exceptions
Adds a isValid() method to the authenticator to avoid exceptions during
initialization.
2016-10-16 17:18:42 +02:00
olivier lamy 3d266df48d [maven-release-plugin] prepare for next development iteration 2016-05-20 12:55:38 +10:00
olivier lamy 530fa8a468 [maven-release-plugin] prepare release redback-2.4 2016-05-20 12:55:09 +10:00
olivier lamy f012c5608a fix javadoc error
Signed-off-by: olivier lamy <olamy@apache.org>
2016-05-20 12:44:56 +10:00
Olivier Lamy 80931e6476 [maven-release-plugin] prepare for next development iteration 2015-02-22 22:20:24 +11:00
Olivier Lamy 7cc90a66af [maven-release-plugin] prepare release redback-2.3 2015-02-22 22:20:15 +11:00
Olivier Lamy 34daedb551 revert back compiler target/source to 1.6 see http://jira.codehaus.org/browse/MRM-1827 2014-04-11 10:05:55 +10:00
Olivier Lamy 0522c36474 diamond operator
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1585877 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 02:00:04 +00:00
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 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