/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package fedora.server.security.servletfilters.xmluserfile; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class User implements Serializable { private static final long serialVersionUID = 1L; private String name; private String password; private String roles; List<Attribute> attributes; public User() { attributes = new ArrayList<Attribute>(); } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getRoles() { return roles; } public void setRoles(String roles) { this.roles = roles; } public List<Attribute> getAttributes() { return attributes; } public void addAttribute(Attribute attribute) { attributes.add(attribute); } }