Interface GitAuthenticationConfigurator

All Known Implementing Classes:
AbstractSshAuthConfigurator, BasicUsernamePasswordAuthConfigurator, NoopAuthConfigurator, SshPasswordAuthConfigurator, SshPrivateKeyAuthConfigurator

public interface GitAuthenticationConfigurator
Utility class that configures a Git connection based on an authentication strategy.
Author:
avasquez
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureAuthentication(org.eclipse.jgit.api.TransportCommand<?,?> command)
    Configures the authentication of the given TransportCommand based on a specific authentication strategy, like HTTP basic authentication, SSH username/password authentication and SSH RSA key pair authentication.
  • Method Details

    • configureAuthentication

      void configureAuthentication(org.eclipse.jgit.api.TransportCommand<?,?> command)
      Configures the authentication of the given TransportCommand based on a specific authentication strategy, like HTTP basic authentication, SSH username/password authentication and SSH RSA key pair authentication.
      Parameters:
      command - the command to configure