Package org.eclipse.jgit.console
Class ConsoleCredentialsProvider
java.lang.Object
org.eclipse.jgit.transport.CredentialsProvider
org.eclipse.jgit.console.ConsoleCredentialsProvider
Interacts with the user during authentication by using the text console.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(URIish uri, CredentialItem... items) static voidinstall()Install this implementation as the default.booleanbooleansupports(CredentialItem... items) Methods inherited from class org.eclipse.jgit.transport.CredentialsProvider
get, getDefault, isAnyNull, reset, setDefault
-
Constructor Details
-
ConsoleCredentialsProvider
public ConsoleCredentialsProvider()
-
-
Method Details
-
install
public static void install()Install this implementation as the default. -
isInteractive
public boolean isInteractive()- Specified by:
isInteractivein classCredentialsProvider
-
supports
- Specified by:
supportsin classCredentialsProvider
-
get
- Specified by:
getin classCredentialsProvider- Throws:
UnsupportedCredentialItem
-