org.eclipse.jgit.console
Class ConsoleCredentialsProvider

java.lang.Object
  extended by org.eclipse.jgit.transport.CredentialsProvider
      extended by org.eclipse.jgit.console.ConsoleCredentialsProvider

public class ConsoleCredentialsProvider
extends CredentialsProvider

Interacts with the user during authentication by using the text console.


Constructor Summary
ConsoleCredentialsProvider()
           
 
Method Summary
 boolean get(URIish uri, CredentialItem... items)
           
static void install()
          Install this implementation as the default.
 boolean isInteractive()
           
 boolean supports(CredentialItem... items)
           
 
Methods inherited from class org.eclipse.jgit.transport.CredentialsProvider
get, getDefault, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleCredentialsProvider

public ConsoleCredentialsProvider()
Method Detail

install

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


isInteractive

public boolean isInteractive()
Specified by:
isInteractive in class CredentialsProvider

supports

public boolean supports(CredentialItem... items)
Specified by:
supports in class CredentialsProvider

get

public boolean get(URIish uri,
                   CredentialItem... items)
            throws UnsupportedCredentialItem
Specified by:
get in class CredentialsProvider
Throws:
UnsupportedCredentialItem


Copyright © 2011. All Rights Reserved.