java.lang.Object
org.eclipse.jgit.transport.CredentialsProvider
org.eclipse.jgit.awtui.AwtCredentialsProvider
public class AwtCredentialsProvider
extends org.eclipse.jgit.transport.CredentialsProvider
Interacts with the user during authentication by using AWT/Swing dialogs.
-
Constructor Summary
Constructors -
Method Summary
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 classorg.eclipse.jgit.transport.CredentialsProvider
-
supports
public boolean supports(org.eclipse.jgit.transport.CredentialItem... items) - Specified by:
supportsin classorg.eclipse.jgit.transport.CredentialsProvider
-
get
public boolean get(org.eclipse.jgit.transport.URIish uri, org.eclipse.jgit.transport.CredentialItem... items) throws org.eclipse.jgit.errors.UnsupportedCredentialItem - Specified by:
getin classorg.eclipse.jgit.transport.CredentialsProvider- Throws:
org.eclipse.jgit.errors.UnsupportedCredentialItem
-