org.eclipse.jgit.console
Class ConsoleAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by org.eclipse.jgit.util.CachedAuthenticator
          extended by org.eclipse.jgit.console.ConsoleAuthenticator

public class ConsoleAuthenticator
extends CachedAuthenticator

Basic network prompt for username/password when using the console.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jgit.util.CachedAuthenticator
CachedAuthenticator.CachedAuthentication
 
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
 
Constructor Summary
ConsoleAuthenticator()
           
 
Method Summary
static void install()
          Install this authenticator implementation into the JVM.
protected  PasswordAuthentication promptPasswordAuthentication()
           
 
Methods inherited from class org.eclipse.jgit.util.CachedAuthenticator
add, getPasswordAuthentication
 
Methods inherited from class java.net.Authenticator
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleAuthenticator

public ConsoleAuthenticator()
Method Detail

install

public static void install()
Install this authenticator implementation into the JVM.


promptPasswordAuthentication

protected PasswordAuthentication promptPasswordAuthentication()
Specified by:
promptPasswordAuthentication in class CachedAuthenticator


Copyright © 2011. All Rights Reserved.