*
* @see org.davinci.server.user.impl.UserManager#addUser(java.lang.String,
* java.lang.String, java.lang.String)
*/
public IPerson addPerson(String userName, String password, String email) throws UserException, IOException {
IPerson person = (IPerson) persons.get(userName);
if (person != null) {
throw new UserException(UserException.ALREADY_EXISTS);
}
checkValidUserName(userName);
person = new PersonImpl(userName, password, email);