|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.shared.LoginDialog
public final class LoginDialog
A frame that displays a log-in prompt
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
static void |
autoLogIn(java.lang.String username,
java.lang.String digestedPassword)
Used to automatically log someone into the GUI. |
static void |
autoLoginWithoutChecking()
Used to automatically log in for a text-based application. |
static boolean |
doLogin(javax.swing.JFrame ownerFrame,
boolean doNotBypass)
Displays this dialog where a user enters a username and password and clicks the okay button to verify the entered values on the server. |
static void |
logIntoGUIAsGuest()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean doLogin(javax.swing.JFrame ownerFrame, boolean doNotBypass)
doNotBypass
- true if the user will enter a username and password even if the config file has
BYPASS_LOGIN set. Generally in development, the same user auto-logs on every
time, but sometimes a developer wants to log in as another user, say to test out
security for that user, and thus wants this feature supressed.public static void autoLoginWithoutChecking()
public static void autoLogIn(java.lang.String username, java.lang.String digestedPassword)
public static void logIntoGUIAsGuest()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |