Family-Map-Project / FamilyMapServer / FamilyMapServerStudent-master / shared / src / request / LoginRequest.java
LoginRequest.java
Raw
package request;

/**
 * Request to log a user into the server
 */
public class LoginRequest
{
    String username;
    String password;

    /**
     * Parameterized constructor for a loginRequest
     * @param username
     * @param password
     */
    public LoginRequest(String username, String password)
    {
        this.username = username;
        this.password = password;
    }

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

    public String getUsername()
    {
        return username;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
}