Package org.craftercms.commons.git.auth
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 TypeMethodDescriptionvoidconfigureAuthentication(org.eclipse.jgit.api.TransportCommand<?, ?> command) Configures the authentication of the givenTransportCommandbased 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 givenTransportCommandbased 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
-