aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/backend/config/Auth.java
blob: 46660e57fd7d90b5b4caea71535e7883fc90fed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package uk.org.ury.backend.config;

/**
 * A login authorisation configuration
 * 
 * @author Nathan Lasseter
 */
public class Auth {
	
	private String user;
	private String pass;
	
	/**
	 * Get the username of the login
	 * 
	 * @return String username
	 */
	public String getUser() { return user; }
	/**
	 * Get the password of the login
	 * 
	 * @return String password
	 */
	public String getPass() { return pass; }
	
	/**
	 * Create a login auth object
	 * @param user The username for the login
	 * @param pass The password for the login
	 */
	public Auth(String user, String pass) {
		this.user = user;
		this.pass = pass;
	}
	
}