summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/auth/BaseAuthenticator.java
diff options
context:
space:
mode:
authorSimon Rettberg2015-07-08 19:39:35 +0200
committerSimon Rettberg2015-07-08 19:39:35 +0200
commit8d6cd17c330388aa13fd7c39802c7400d85f972c (patch)
tree5f2c5856f58b1454e24dc16fad10751dfe9d087b /dozentenmodul/src/main/java/auth/BaseAuthenticator.java
parentoops (diff)
downloadtutor-module-8d6cd17c330388aa13fd7c39802c7400d85f972c.tar.gz
tutor-module-8d6cd17c330388aa13fd7c39802c7400d85f972c.tar.xz
tutor-module-8d6cd17c330388aa13fd7c39802c7400d85f972c.zip
[client] Redo package structure, add comments/TODOs, rename GUI classes
Diffstat (limited to 'dozentenmodul/src/main/java/auth/BaseAuthenticator.java')
-rw-r--r--dozentenmodul/src/main/java/auth/BaseAuthenticator.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/dozentenmodul/src/main/java/auth/BaseAuthenticator.java b/dozentenmodul/src/main/java/auth/BaseAuthenticator.java
deleted file mode 100644
index f22577d8..00000000
--- a/dozentenmodul/src/main/java/auth/BaseAuthenticator.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package auth;
-
-import org.openslx.bwlp.thrift.iface.TAuthenticationException;
-import org.openslx.bwlp.thrift.iface.UserInfo;
-
-import util.ShibbolethECP.ReturnCode;
-import edu.kit.scc.dei.ecplean.ECPAuthenticationException;
-
-/**
- * @author Jonathan Bauer
- *
- */
-public interface BaseAuthenticator {
-
- /**
- * Callback interface to the login to be called after a login
- * Note that this will be called after every login, independent
- * of the success of the operation. This way the GUI can show a
- * corresponding message to the user.
- */
- interface AuthenticatorCallback {
- void postLogin(ReturnCode returnCode, UserInfo user);
- }
- /**
- * Definition of the generic login method.
- *
- * @param username The username as String.
- * @param password The password as String.
- * @param callback The callback function to be called after the login
- * @throws ECPAuthenticationException
- */
- void login(String username, String password, AuthenticatorCallback callback) throws TAuthenticationException;
-} \ No newline at end of file