diff options
author | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 21:54:31 +0000 |
---|---|---|
committer | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 21:54:31 +0000 |
commit | df7d7981b56a4560c95ea7e9b194080e93398ecf (patch) | |
tree | b3ae4f02d23ae1f7f4951c776ee8d91b0047dd6f /src/uk/org/ury/backend/config/Auth.java | |
parent | 2d073129857a42ab4195cd433c8be152e357033f (diff) |
GREAT PACKAGE RESHUFFLE: Everything is now organised into frontend, backend and common (to frontend and backend) packages. Things may have been broken. Doc refresh.
Diffstat (limited to 'src/uk/org/ury/backend/config/Auth.java')
-rw-r--r-- | src/uk/org/ury/backend/config/Auth.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/uk/org/ury/backend/config/Auth.java b/src/uk/org/ury/backend/config/Auth.java new file mode 100644 index 0000000..46660e5 --- /dev/null +++ b/src/uk/org/ury/backend/config/Auth.java @@ -0,0 +1,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; + } + +}
\ No newline at end of file |