Commit Graph

93 Commits

Author SHA1 Message Date
Martin Stockhammer 91c147513f Changes for site git migration 2018-11-11 10:02:27 +01:00
olivier lamy c04779a7e0 remove jdo reference
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-26 11:30:58 +10: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 66965fcd65 Centralizing openjpa log config 2017-05-21 22:36:27 +02:00
Martin Stockhammer fcdf64d8d6 Changing openjpa log level 2017-05-20 23:08:33 +02:00
Martin Stockhammer df9e731172 Update log levels for JPA 2017-05-19 21:57:32 +02:00
Martin Stockhammer 3e73762394 [MRM-1942] Merge branch 'jpa' into master
Removing JDO and add JPA backend.
2017-05-19 21:47:48 +02: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 45b429e778 Add jpa config to test spring contexts 2016-10-25 15:52:26 +02: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
Martin Stockhammer 5ce2714a37 Fixing bind issue with certain ldap servers, when user not found
Subsequent calls of NamingResult#hasMoreElements returns different values in some
environments and situations.
e.g. it occured on IBM JDK 7 with Windows Active Directory LDAP when the first value of 'hasMoreElements'
was false.
The first value is cached now.
2016-09-09 10:03:27 +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 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