/** * If password if prefilled, it is expected to continue remembering it. * On the other hand, if password saving is disabled, the checkbox is not shown. * In other cases, {@code rememberByDefault} is used. */ public AuthDialog(@NotNull Project project, @NotNull String title, @Nullable String description, @Nullable String login, @Nullable String password, boolean rememberByDefault) { super(project, false); setTitle(title); Boolean rememberPassword = decideOnShowRememberPasswordOption(password, rememberByDefault); authPanel = new AuthenticationPanel(description, login, password, rememberPassword); init(); }
/** * If password if prefilled, it is expected to continue remembering it. * On the other hand, if password saving is disabled, the checkbox is not shown. * In other cases, {@code rememberByDefault} is used. */ public AuthDialog(@NotNull Project project, @NotNull String title, @Nullable String description, @Nullable String login, @Nullable String password, boolean rememberByDefault) { super(project, false); setTitle(title); boolean rememberPassword = decideOnShowRememberPasswordOption(password, rememberByDefault); authPanel = new AuthenticationPanel(description, login, password, rememberPassword); init(); }
/** * If password if prefilled, it is expected to continue remembering it. * On the other hand, if password saving is disabled, the checkbox is not shown. * In other cases, {@code rememberByDefault} is used. */ public AuthDialog(@Nonnull Project project, @Nonnull String title, @Nullable String description, @Nullable String login, @Nullable String password, boolean rememberByDefault) { super(project, false); setTitle(title); boolean rememberPassword = decideOnShowRememberPasswordOption(password, rememberByDefault); authPanel = new AuthenticationPanel(description, login, password, rememberPassword); init(); }