Package com.sun.enterprise.security
Class GUILoginDialog
- java.lang.Object
-
- com.sun.enterprise.security.GUILoginDialog
-
- All Implemented Interfaces:
LoginDialog
public final class GUILoginDialog extends Object implements LoginDialog
An implementation of a LoginDialog that presents a swing based GUI for querying username and password.- Author:
- Harish Prabandham, Harpreet Singh
-
-
Constructor Summary
Constructors Constructor Description GUILoginDialog()
GUILoginDialog(String entity)
GUILoginDialog(String entity, Callback[] callbacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
getPassword()
String
getUserName()
-
-
-
Method Detail
-
getUserName
public String getUserName()
- Specified by:
getUserName
in interfaceLoginDialog
- Returns:
- The username of the user.
-
getPassword
public final char[] getPassword()
- Specified by:
getPassword
in interfaceLoginDialog
- Returns:
- The password of the user in plain text...
-
-