public static final List<User> getUsers() throws Exception {
        List<User> rval = new ArrayList<>();

        URL usersUrl = getUsersUrl();
        
        if (usersUrl != null) {
            System.out.println("Loading users from: " + usersUrl);
            InputStream in = null;
            BufferedReader reader = null;
            try {
                in = usersUrl.openStream();
                reader = new BufferedReader(new InputStreamReader(in));
                String line = reader.readLine();
                while (line != null) {
                    line = line.trim();
                    if (line.length() == 0 || line.startsWith("#")) {
                        continue;
                    }
                    String [] split = line.split(",");
                    User user = new User();
                    user.setId(split[0]);
                    user.setPassword(split[1]);
                    user.getRoles().add("apiuser");
                    boolean isAdmin = "true".equals(split[2]);
                    if (isAdmin) {
                        user.getRoles().add("apiadmin");
                    }
                    rval.add(user);
                    System.out.println("  added user => " + user.getId());
                    line = reader.readLine();
                }
            } catch (Throwable t) {
                throw new RuntimeException(t);
            } finally {
                IOUtils.closeQuietly(in);
                IOUtils.closeQuietly(reader);
            }
        } else {
            System.out.println("Using default users.");
            User user = new User();
            user.setId("admin");
            user.setPassword("admin123!");
            user.getRoles().add("apiuser");
            user.getRoles().add("apiadmin");
            rval.add(user);
        }

        return rval;
    }
Hard coded users.  Only useful for testing/bootstrapping.

@author eric.wittmann@redhat.com
manager/api/micro/src/main/java/io/apiman/manager/api/micro/Users.java