Package com.sun.enterprise.security
Class TextLoginDialog
- java.lang.Object
-
- com.sun.enterprise.security.TextLoginDialog
-
- All Implemented Interfaces:
LoginDialog
public final class TextLoginDialog extends Object implements LoginDialog
This implementation of LoginDialog If these are not set, then it queries the user in the command window.- Author:
- Harish Prabandham
-
-
Constructor Summary
Constructors Constructor Description TextLoginDialog(Callback[] callbacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
getPassword()
String
getUserName()
-
-
-
Constructor Detail
-
TextLoginDialog
public TextLoginDialog(Callback[] callbacks)
-
-
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...
-
-