no.ntnu.vegare.visualizer.client.auth
Class AuthController

java.lang.Object
  extended by no.ntnu.vegare.visualizer.client.auth.AuthController
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class AuthController
extends java.lang.Object
implements java.awt.event.ActionListener

Controls the flow of the authentication wizard.

Displays an UrlFrame to connect to the server, then an AuthFrame to prompt for a username and password.

Author:
vegare
See Also:
AuthFrame, UrlFrame

Constructor Summary
AuthController(HttpsConnection model)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void establishConnection()
          Display UrlFrame and AuthFrame in succession, waiting for complete actions from one before moving on to the other.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthController

public AuthController(HttpsConnection model)
Method Detail

establishConnection

public void establishConnection()
Display UrlFrame and AuthFrame in succession, waiting for complete actions from one before moving on to the other.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener