Package org.eclipse.jgit.awtui
Class AwtAuthenticator
java.lang.Object
java.net.Authenticator
org.eclipse.jgit.util.CachedAuthenticator
org.eclipse.jgit.awtui.AwtAuthenticator
Basic network prompt for username/password when using AWT.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.util.CachedAuthenticator
CachedAuthenticator.CachedAuthenticationNested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinstall()Install this authenticator implementation into the JVM.protected PasswordAuthenticationPrompt for and request authentication from the end-user.Methods inherited from class org.eclipse.jgit.util.CachedAuthenticator
add, getPasswordAuthenticationMethods inherited from class java.net.Authenticator
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
-
Constructor Details
-
AwtAuthenticator
public AwtAuthenticator()
-
-
Method Details
-
install
public static void install()Install this authenticator implementation into the JVM. -
promptPasswordAuthentication
Prompt for and request authentication from the end-user.- Specified by:
promptPasswordAuthenticationin classCachedAuthenticator- Returns:
- the authentication data; null if the user canceled the request and does not want to continue.
-