package login;

public class User
{
	private String username;
	private String paswordHash;
	private String firstName;
	private String lastName;
	private boolean isAdmin;
	
	public User(String username)
	{
		this.username = username;
	}

	public String getUsername()
	{
		return username;
	}

	public void setUsername(String username)
	{
		this.username = username;
	}

	public String getPaswordHash()
	{
		return paswordHash;
	}

	public void setPaswordHash(String paswordHash)
	{
		this.paswordHash = paswordHash;
	}

	public String getFirstName()
	{
		return firstName;
	}

	public void setFirstName(String firstName)
	{
		this.firstName = firstName;
	}

	public String getLastName()
	{
		return lastName;
	}

	public void setLastName(String lastName)
	{
		this.lastName = lastName;
	}

	public boolean isAdmin() 
	{
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin)
	{
		this.isAdmin = isAdmin;
	}
	
	public String getFullName()
	{
		return firstName + " " + lastName;
	}
	
}

@@ -66,32 +66,33 @@
 ivate String pas
+s
 wordHash;%0A%09priva
@@ -406,24 +406,25 @@
 %09%09return pas
+s
 wordHash;%0A%09%7D
@@ -486,16 +486,17 @@
 this.pas
+s
 wordHash

Fix typo in User.passwordHash