Class WAuthenticationUserPassLoginMethodPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class WAuthenticationUserPassLoginMethodPanel
extends LoginMethodPanel
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getFriendlyName

      public static String getFriendlyName()
      Get the name to appear for this class in the login method selection dropdown. Since we want to show the name in the dropdown before actually instantiating the class, this must be static. Note that implementing classes must hide the base class, not override, because it's static.
      Returns:
      The text that should appear in the dropdown for selecting login method.
    • setUser

      public void setUser​(String user, boolean focusOnPassword)
      Fill in the user field and move focus to the password field if requested.

      Note: the password focus doesn't work until the form is visible, and that is controlled outside this component.

      Parameters:
      user - initial user name
      focusOnPassword - if true, request focus in the password field
    • getOKAction

      public AbstractAction getOKAction()
      Description copied from class: LoginMethodPanel
      Get the action to be performed when the user tries the OK button.
      Specified by:
      getOKAction in class LoginMethodPanel
      Returns:
      The action to be performed when the user tries the OK button.