@@ -0,0 +1,2246 @@
+package org.schoellerfamily.gedbrowser;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0A%0A/**%0A * A basic user record.%0A *%0A * @author Dick Schoeller%0A */%0Apublic final class User %7B%0A    /** */%0A    private String username;%0A    /** */%0A    private String firstname;%0A    /** */%0A    private String lastname;%0A    /** */%0A    private String email;%0A    /** */%0A    private String password;%0A    /** */%0A    private final Set%3CString%3E roles = new HashSet%3C%3E();%0A%0A    /**%0A     * @return the username%0A     */%0A    public String getUsername() %7B%0A        return username;%0A    %7D%0A%0A    /**%0A     * @param username the username%0A     */%0A    public void setUsername(final String username) %7B%0A        this.username = username;%0A    %7D%0A%0A    /**%0A     * @return the user's first name%0A     */%0A    public String getFirstname() %7B%0A        return firstname;%0A    %7D%0A%0A    /**%0A     * @param firstname the user's first name%0A     */%0A    public void setFirstname(final String firstname) %7B%0A        this.firstname = firstname;%0A    %7D%0A%0A    /**%0A     * @return the user's last name%0A     */%0A    public String getLastname() %7B%0A        return lastname;%0A    %7D%0A%0A    /**%0A     * @param lastname the user's last name%0A     */%0A    public void setLastname(final String lastname) %7B%0A        this.lastname = lastname;%0A    %7D%0A%0A    /**%0A     * @return the user's email address%0A     */%0A    public String getEmail() %7B%0A        return email;%0A    %7D%0A%0A    /**%0A     * @param email the user's email address%0A     */%0A    public void setEmail(final String email) %7B%0A        this.email = email;%0A    %7D%0A%0A    /**%0A     * @return the user's password%0A     */%0A    public String getPassword() %7B%0A        return password;%0A    %7D%0A%0A    /**%0A     * @param password the user's password%0A     */%0A    public void setPassword(final String password) %7B%0A        this.password = password;%0A    %7D%0A%0A    /**%0A     * The roles supported are user and admin.%0A     *%0A     * @return the set of roles for this user%0A     */%0A    public String%5B%5D getRoles() %7B%0A        return this.roles.toArray(new String%5B0%5D);%0A    %7D%0A%0A    /**%0A     * @param role the role to add to the role set%0A     */%0A    public void addRole(final String role) %7B%0A        this.roles.add(role);%0A    %7D%0A%0A    /**%0A     * Clear the role set.%0A     */%0A    public void clearRoles() %7B%0A        this.roles.clear();%0A    %7D%0A%7D%0A

remove hard-coded users