]> source.dussan.org Git - archiva.git/commitdiff
Add name and cache reset
authorMartin Stockhammer <martin_s@apache.org>
Wed, 26 Oct 2016 21:28:43 +0000 (23:28 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Wed, 26 Oct 2016 21:28:43 +0000 (23:28 +0200)
archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java

index 70f75be1541b63e97fff9f6442698b4616a61745..9ea05cb569533a54541ae1bc935e1d92729eb909 100644 (file)
@@ -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