@Override protected List<GeoServerUser> getItems() { SortedSet<GeoServerUser> users=null; try { GeoServerUserGroupService service = null; if (userGroupServiceName !=null) service = getApplication().getSecurityManager().loadUserGroupService(userGroupServiceName); if (service==null) users=new TreeSet<GeoServerUser>(); else users=service.getUsers(); } catch (IOException e) { throw new RuntimeException(e); } List<GeoServerUser> userList = new ArrayList<GeoServerUser>(); userList.addAll(users); return userList; }
@Override protected List<GeoServerUser> getItems() { SortedSet<GeoServerUser> users = null; try { GeoServerUserGroupService service = null; if (userGroupServiceName != null) service = getApplication() .getSecurityManager() .loadUserGroupService(userGroupServiceName); if (service == null) users = new TreeSet<GeoServerUser>(); else users = service.getUsers(); } catch (IOException e) { throw new RuntimeException(e); } List<GeoServerUser> userList = new ArrayList<GeoServerUser>(); userList.addAll(users); return userList; }
@Override protected List<GeoServerUser> getItems() { SortedSet<GeoServerUser> users=null; try { GeoServerUserGroupService service = null; if (userGroupServiceName !=null) service = getApplication().getSecurityManager().loadUserGroupService(userGroupServiceName); if (service==null) users=new TreeSet<GeoServerUser>(); else users=service.getUsers(); } catch (IOException e) { throw new RuntimeException(e); } List<GeoServerUser> userList = new ArrayList<GeoServerUser>(); userList.addAll(users); return userList; }