From 8d6cd17c330388aa13fd7c39802c7400d85f972c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 8 Jul 2015 19:39:35 +0200 Subject: [client] Redo package structure, add comments/TODOs, rename GUI classes --- .../src/main/java/auth/BaseAuthenticator.java | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 dozentenmodul/src/main/java/auth/BaseAuthenticator.java (limited to 'dozentenmodul/src/main/java/auth/BaseAuthenticator.java') 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 -- cgit v1.2.3-55-g7522