]> source.dussan.org Git - archiva.git/commitdiff
clear cache when erase is called
authorOlivier Lamy <olamy@apache.org>
Wed, 23 Jan 2013 10:31:01 +0000 (10:31 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 23 Jan 2013 10:31:01 +0000 (10:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437325 13f79535-47bb-0310-9956-ffa450edef68

redback-rbac/redback-rbac-providers/redback-rbac-ldap/src/main/java/org/apache/archiva/redback/rbac/ldap/LdapRbacManager.java

index 1c915ee41a6c2c79845336f6993c8c83b10785ef..560e5387de1b4badc0d60503030b9750e35fb210 100644 (file)
@@ -190,6 +190,7 @@ public class LdapRbacManager
                 closeLdapConnection( ldapConnection );
             }
         }
+        this.rolesCache.clear();
         this.rbacImpl.eraseDatabase();
     }