From 17f4210d6c06db0b613b9b730d40bd8172615453 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 15 Jan 2013 15:40:02 +0000 Subject: [PATCH] use userManager#configurable rather than userManager#cached git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433462 13f79535-47bb-0310-9956-ffa450edef68 --- .../redback/rest/services/DefaultRoleManagementService.java | 2 +- .../archiva/redback/rest/services/DefaultUserService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultRoleManagementService.java b/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultRoleManagementService.java index e37310c43..4c6bf72bc 100644 --- a/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultRoleManagementService.java +++ b/redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultRoleManagementService.java @@ -79,7 +79,7 @@ public class DefaultRoleManagementService @Inject public DefaultRoleManagementService( RoleManager roleManager, @Named(value = "rbacManager#default") RBACManager rbacManager, - @Named(value = "userManager#cached") UserManager userManager ) + @Named(value = "userManager#configurable") UserManager userManager ) { this.roleManager = roleManager; this.rbacManager = rbacManager; 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 de429a7e8..af03218a4 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 @@ -132,7 +132,7 @@ public class DefaultUserService private HttpServletRequest httpServletRequest; @Inject - public DefaultUserService( @Named( value = "userManager#cached" ) UserManager userManager, + public DefaultUserService( @Named( value = "userManager#configurable" ) UserManager userManager, SecuritySystem securitySystem, @Named( "httpAuthenticator#basic" ) HttpAuthenticator httpAuthenticator ) { -- 2.39.5