From 6dcd84d2dbf6c8335bcdb3e5c93e3d55498ef0cd Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Wed, 26 Oct 2016 23:28:43 +0200 Subject: [PATCH] Add name and cache reset --- .../archiva/web/security/ArchivaConfigurableUsersManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java index 70f75be15..9ea05cb56 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java @@ -78,7 +78,7 @@ public class ArchivaConfigurableUsersManager setUserManagerImpl( userManagerImpl ); userManagerPerId.put( id, userManagerImpl ); } - + this.usersCache.clear(); this.useUsersCache = redbackRuntimeConfigurationAdmin.getRedbackRuntimeConfiguration().isUseUsersCache(); } catch ( RepositoryAdminException e ) @@ -333,7 +333,7 @@ public class ArchivaConfigurableUsersManager @Override public String getId() { - return null; + return "archiva-configurable"; } @Override -- 2.39.5