From 86657b2894a8d358ff71dee0de74b39f658b181b Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 1 Dec 2012 23:09:36 +0000 Subject: [PATCH] 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 --- .../apache/archiva/redback/rest/services/DefaultUserService.java | 1 + .../redback/rest/services/FakeCreateAdminServiceImpl.java | 1 + 2 files changed, 2 insertions(+) diff --git a/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultUserService.java b/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultUserService.java index 0f156313..41a2de58 100644 --- a/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultUserService.java +++ b/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultUserService.java @@ -87,6 +87,7 @@ public class DefaultUserService private SecuritySystem securitySystem; @Inject + @Named( value = "userConfiguration" ) private UserConfiguration config; @Inject diff --git a/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/FakeCreateAdminServiceImpl.java b/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/FakeCreateAdminServiceImpl.java index 057faff6..f9610a2b 100644 --- a/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/FakeCreateAdminServiceImpl.java +++ b/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/FakeCreateAdminServiceImpl.java @@ -44,6 +44,7 @@ public class FakeCreateAdminServiceImpl private UserManager userManager; @Inject + @Named( value = "userConfiguration" ) private UserConfiguration config; @Inject