aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/config/Auth.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/uk/org/ury/config/Auth.java')
-rw-r--r--src/uk/org/ury/config/Auth.java15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/uk/org/ury/config/Auth.java b/src/uk/org/ury/config/Auth.java
index d68fc55..81be6e2 100644
--- a/src/uk/org/ury/config/Auth.java
+++ b/src/uk/org/ury/config/Auth.java
@@ -1,17 +1,14 @@
package uk.org.ury.config;
-import uk.org.ury.database.UserClass;
-
/**
* A login authorisation configuration
*
- * @author Nathan
+ * @author Nathan Lasseter
*/
public class Auth {
private String user;
private String pass;
- private UserClass type;
/**
* Get the username of the login
@@ -25,23 +22,15 @@ public class Auth {
* @return String password
*/
public String getPass() { return pass; }
- /**
- * Get the access level of the login
- *
- * @return UserClass type
- */
- public UserClass getType() { return type; }
/**
* Create a login auth object
* @param user The username for the login
* @param pass The password for the login
- * @param type The access type for the login
*/
- public Auth(String user, String pass, UserClass type) {
+ public Auth(String user, String pass) {
this.user = user;
this.pass = pass;
- this.type = type;
}
} \ No newline at end of file