diff options
Diffstat (limited to 'src/uk/org/ury/config/Auth.java')
-rw-r--r-- | src/uk/org/ury/config/Auth.java | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/src/uk/org/ury/config/Auth.java b/src/uk/org/ury/config/Auth.java index ff22c12..81be6e2 100644 --- a/src/uk/org/ury/config/Auth.java +++ b/src/uk/org/ury/config/Auth.java @@ -1,21 +1,36 @@ package uk.org.ury.config; -import uk.org.ury.database.UserClass; - +/** + * A login authorisation configuration + * + * @author Nathan Lasseter + */ public class Auth { private String user; private String pass; - private UserClass type; + /** + * 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; } - public UserClass getType() { return type; } - public Auth(String user, String pass, UserClass type) { + /** + * 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; - this.type = type; } }
\ No newline at end of file |