Java 类com.intellij.util.net.AuthenticationPanel 实例源码

项目:intellij-ce-playground    文件:AuthDialog.java   
/**
 * 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();
}
项目:tools-idea    文件:AuthDialog.java   
/**
 * 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();
}
项目:consulo    文件:AuthDialog.java   
/**
 * 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();
}