Class PasswordPromptDialog

public class PasswordPromptDialog
extends WDialog
A dialog that prompts for the user password.

This is a simple dialog, useful for prompting the user to enter his password. This may be convenient for example to let the user upgrade from a weak authentication to a strong authentication.

The dialog uses a Login object to get the currently identified user, and also sets the result of the login process by calling Login#login() on this object.

The dialog renders the "Wt.Auth.template.password-prompt" template.

  • Field Details

  • Constructor Details

    • PasswordPromptDialog

      public PasswordPromptDialog​(Login login, AuthModel model)

      From the passed login object, the dialog obtains the User for which a valid password needs to be entered. The result, if successful, is signalled using Login#login().

  • Method Details

    • check

      protected void check()