for (GeoServerUser user : removePanel.getRoots()) {
List<GeoServerRole> list= new ArrayList<GeoServerRole>();
list.addAll(gaStore.getRolesForUser(user.getUsername()));
for (GeoServerRole role: list)
gaStore.disAssociateRoleFromUser(role, user.getUsername());
}
gaStore.store();
} catch (IOException ex) {
try {gaStore.load(); } catch (IOException ex2) {};