Commit Graph

390 Commits

Author SHA1 Message Date
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 e0dc1a1966 correctly inform users what happened with failing ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419566 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:31:37 +00:00
Olivier Lamy 7181023737 add access to listeners
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418772 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:32:57 +00:00
Olivier Lamy 3257c3fac5 remove non used method with parameter Object principal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418771 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:32:34 +00:00
Olivier Lamy 86a6ec5580 correctly map new field for rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418717 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:40:24 +00:00
Olivier Lamy 610002ab5f user now track userManagerImpl id they come from
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418716 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:40:08 +00:00
Olivier Lamy 5c3ba5495e more easy for cleanup disk :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 21:52:55 +00:00
Olivier Lamy 268288f80f last slf4j 1.7.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418129 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 23:34:44 +00:00
Olivier Lamy 6613e63575 use a named bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418001 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 16:53:39 +00:00
Olivier Lamy deb7a3b238 jul-to-slf4j to have jpox log to slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417924 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:51:28 +00:00
Olivier Lamy ef9af9bb4a git svn do not delete empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417922 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:38:58 +00:00
Olivier Lamy 307b5b9eee basic svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417916 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:34:36 +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 51325b452e add a spring file
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417910 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:31:21 +00:00
Olivier Lamy 5c55300800 userConfiguration#default bean must be know declared tru an alias to avoid duplicate bean ids
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417908 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:31:05 +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 2f75fce0e4 expose initialize method to be able to reconfigure components
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417539 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:22:38 +00:00
Olivier Lamy dde5f4a956 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417538 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:22:16 +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 498776efeb use a new Exception registryException is an implementation detail exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417398 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:57:29 +00:00
Olivier Lamy 6818a0097e use a 'namespace' for user
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417397 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:57:13 +00:00
Olivier Lamy 3c6f8dc455 moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417396 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:48 +00:00
Olivier Lamy eef9c73382 start moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417395 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:03 +00:00
Olivier Lamy 59dd656a88 minor format change
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417394 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:55:13 +00:00
Olivier Lamy b890cd1b97 adapt to last changes in spring-jdo2 component
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417087 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:20:19 +00:00
Olivier Lamy 7878eec5cb fix some osgi imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417086 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:51 +00:00
Olivier Lamy 5632f18c9c fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417085 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:38 +00:00
Olivier Lamy c5cb87b06f use last version of commons-io
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417084 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:20 +00:00
Olivier Lamy 5d166ecce8 rid of plexus utils usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417083 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:03 +00:00
Olivier Lamy 7ebf8f68ab remove plexus-utils usage to commons-*
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417080 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:16:52 +00:00
Olivier Lamy 75af5e0fec authenticator do not return key so add a message field
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416991 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 15:26:55 +00:00
Olivier Lamy dd93a29b34 if any exception must be returned in rest response
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416990 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 15:26:25 +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 2b060d6623 remove non used method
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 11:10:35 +00:00
Olivier Lamy 86657b2894 force an implementation name to prevent issue when more than one available
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416075 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 23:09:36 +00:00
Olivier Lamy cd099ede58 use last modello 1.6 for redback-rbac-role-manager to be use 1.5
jpox part has been removed from modello plugin so not possible ....

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1415426 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 22:50:42 +00:00
Olivier Lamy 0f75dfab50 move modello-maven-plugin version to pluginManagement in top pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414847 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 18:02:12 +00:00
Olivier Lamy b776125532 remove non use constructor
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414472 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 23:43:28 +00:00
Olivier Lamy 1814062734 add javadoc comment and @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414471 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 23:43:10 +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 f22c79fe22 add an alias to be to access to the original when we override the bean in archiva.
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414237 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 15:56:57 +00:00
Olivier Lamy 4f810483e5 user manager now returns a description key to be able to customize label on ui side
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1413019 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 18:33:52 +00:00
Olivier Lamy f0b5140e1a return real bean id and add a flag to say if users can choose this implementation or not
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1413018 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 18:32:55 +00:00
Olivier Lamy 9b5bc72ae7 make possible to change the userManagerImpl
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412941 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 16:26:27 +00:00
Olivier Lamy a0bf39d5b5 remove @version
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412940 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 16:26:10 +00:00
Olivier Lamy 5c0d601c8f [MRM-1714] using LDAP can be configurable with the ui.
prepare redback

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412808 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 10:10:28 +00:00
Olivier Lamy 781c294599 return updated user and un comment tested code
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412794 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:29:18 +00:00
Olivier Lamy daeecfa8a0 [MRM-1708] When using LDAP, users can still edit their details upon login.
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412793 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:28:48 +00:00