Package org.eclipse.jgit.console
Class ConsoleAuthenticator
java.lang.Object
java.net.Authenticator
org.eclipse.jgit.util.CachedAuthenticator
org.eclipse.jgit.console.ConsoleAuthenticator
Basic network prompt for username/password when using the console.
- Since:
- 4.0
-
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 PasswordAuthenticationMethods inherited from class org.eclipse.jgit.util.CachedAuthenticator
add, getPasswordAuthenticationMethods inherited from class java.net.Authenticator
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
-
Constructor Details
-
ConsoleAuthenticator
public ConsoleAuthenticator()
-
-
Method Details
-
install
public static void install()Install this authenticator implementation into the JVM. -
promptPasswordAuthentication
- Specified by:
promptPasswordAuthenticationin classCachedAuthenticator
-