Commit Graph

530 Commits

Author SHA1 Message Date
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
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 1747f702c9 remove some others Object parameters type
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412688 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:56:16 +00:00
Olivier Lamy a45cb572c4 use real type rather than Object
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412686 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:56:00 +00:00
Olivier Lamy 6c64232c50 remove Object principal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412685 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:55: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 b9ab27cd41 remove not anymore used class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412571 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 14:54:29 +00:00
Olivier Lamy f49dfbd78c use non deprecated variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412567 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 14:45:45 +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