Top Description Constructors Methods
org.eclipse.jgit.awtui

public Class AwtAuthenticator

extends CachedAuthenticator
Class Inheritance
Imports
java.awt.Container, .GridBagConstraints, .GridBagLayout, .Insets, java.net.PasswordAuthentication, javax.swing.JLabel, .JOptionPane, .JPanel, .JPasswordField, .JTextField, org.eclipse.jgit.util.CachedAuthenticator

Basic network prompt for username/password when using AWT.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
install()

Install this authenticator implementation into the JVM.

protected PasswordAuthentication
promptPasswordAuthentication()

Implements abstract org.eclipse.jgit.util.CachedAuthenticator.promptPasswordAuthentication.

Prompt for and request authentication from the end-user.

Inherited from org.eclipse.jgit.util.CachedAuthenticator:
addgetPasswordAuthentication

Constructor Detail

AwtAuthenticatorback to summary
public AwtAuthenticator()

Method Detail

installback to summary
public static void install()

Install this authenticator implementation into the JVM.

promptPasswordAuthenticationback to summary
protected PasswordAuthentication promptPasswordAuthentication()

Implements abstract org.eclipse.jgit.util.CachedAuthenticator.promptPasswordAuthentication.

Doc from org.eclipse.jgit.util.CachedAuthenticator.promptPasswordAuthentication.

Prompt for and request authentication from the end-user.

Returns:PasswordAuthentication

the authentication data; null if the user canceled the request and does not want to continue.

Annotations
@Override