diff options
| author | Tobias Spitzer | 2014-08-22 08:07:45 +0200 |
|---|---|---|
| committer | Tobias Spitzer | 2014-08-22 08:07:45 +0200 |
| commit | b74c2de867fd82d00d8725096793ce4539458bea (patch) | |
| tree | fc6a6833eca6454f8c624ec5788a6c7dfa6ca518 /Dozentenmodul/src/gui/intro/Login_GUI.java | |
| parent | z (diff) | |
| parent | Fehlermeldung entfernt und Debug-Ausgaben hinzugefuegt (diff) | |
| download | tutor-module-b74c2de867fd82d00d8725096793ce4539458bea.tar.gz tutor-module-b74c2de867fd82d00d8725096793ce4539458bea.tar.xz tutor-module-b74c2de867fd82d00d8725096793ce4539458bea.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tutor-module
Conflicts:
Dozentenmodul/bin/gui/image/DeleteImage_GUI.class
üpo
Diffstat (limited to 'Dozentenmodul/src/gui/intro/Login_GUI.java')
| -rw-r--r-- | Dozentenmodul/src/gui/intro/Login_GUI.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Dozentenmodul/src/gui/intro/Login_GUI.java b/Dozentenmodul/src/gui/intro/Login_GUI.java index de8082d6..a26b80c9 100644 --- a/Dozentenmodul/src/gui/intro/Login_GUI.java +++ b/Dozentenmodul/src/gui/intro/Login_GUI.java @@ -109,7 +109,7 @@ public class Login_GUI extends JFrame { JOptionPane.ERROR_MESSAGE); } // Titel des Fensters setzen - setTitle("bwLehrpool Suite *Prototyp*"); + setTitle("bwLehrpool Suite"); // Aktion die beim Schliessen durchgefuehrt werden soll setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); @@ -243,18 +243,18 @@ public class Login_GUI extends JFrame { // null package if (checkClientPackage() == true) { // package has information - System.out.println("Auth"); + System.out.println("Authentifiziere - warte auf Masterserver"); result = client.authenticate(lblusername.getText(), passText); - System.out.println("Succes Auth"); + System.out.println("Authentifizierung erfolgreich"); SessionData.session.setAuthToken(result.authToken); SessionData.session.setSessionID(result.sessionId); SessionData.session.setServerAdress(result.serverAddress); - System.out.println("Master"); + System.out.println("warte auf Masterserver"); // set connection to bwLehrpoolSuiteServer ThriftConnection bwthrift = new ThriftConnection(); server.Server.Client bwClient = bwthrift.getThriftConnection(); models.Client.clientcon.setClient(bwClient); - System.out.println("Client"); + System.out.println("Client macht weiter"); System.out.println("Session-ID: " + result.sessionId + "\nToken: " + result.authToken); @@ -266,7 +266,7 @@ public class Login_GUI extends JFrame { "Error: Token ist null", "Token defekt", JOptionPane.ERROR_MESSAGE); } - System.out.println("Hole jetzt Infos aus SessionData..."); + System.out.println("Arbeite ab jetzt mit Infos aus SessionData."); UserInfo user = client.getUserFromToken(SessionData.session .getAuthToken()); @@ -354,9 +354,9 @@ public class Login_GUI extends JFrame { "Anmeldung fehlgeschlagen", JOptionPane.ERROR_MESSAGE); e.printStackTrace(); - JOptionPane.showMessageDialog(null, - e.getCause() + "\n" + e.getMessage(), "Message", - JOptionPane.ERROR_MESSAGE); + //JOptionPane.showMessageDialog(null, + // e.getCause() + "\n" + e.getStackTrace(), "Message", + // JOptionPane.ERROR_MESSAGE); return; } catch (TException e) { // TODO Auto-generated catch block |
