Package org.eclipse.jgit.awtui
Class AwtCredentialsProvider
java.lang.Object
org.eclipse.jgit.transport.CredentialsProvider
org.eclipse.jgit.awtui.AwtCredentialsProvider
Interacts with the user during authentication by using AWT/Swing dialogs.
-
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
-
AwtCredentialsProvider
public AwtCredentialsProvider()
-
-
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
-