Class AwtCredentialsProvider

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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    get(org.eclipse.jgit.transport.URIish uri, org.eclipse.jgit.transport.CredentialItem... items)
     
    static void
    Install this implementation as the default.
    boolean
     
    boolean
    supports(org.eclipse.jgit.transport.CredentialItem... items)
     

    Methods inherited from class org.eclipse.jgit.transport.CredentialsProvider

    get, getDefault, isAnyNull, reset, setDefault

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AwtCredentialsProvider

      public AwtCredentialsProvider()
  • Method Details

    • install

      public static void install()
      Install this implementation as the default.
    • isInteractive

      public boolean isInteractive()
      Specified by:
      isInteractive in class org.eclipse.jgit.transport.CredentialsProvider
    • supports

      public boolean supports(org.eclipse.jgit.transport.CredentialItem... items)
      Specified by:
      supports in class org.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:
      get in class org.eclipse.jgit.transport.CredentialsProvider
      Throws:
      org.eclipse.jgit.errors.UnsupportedCredentialItem