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 Details

    • TextLoginDialog

      public TextLoginDialog(Callback[] callbacks)
  • Method Details

    • getUserName

      public String getUserName()
      Specified by:
      getUserName in interface LoginDialog
      Returns:
      The username of the user.
    • getPassword

      public final char[] getPassword()
      Specified by:
      getPassword in interface LoginDialog
      Returns:
      The password of the user in plain text...