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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configureAuthentication(org.eclipse.jgit.api.TransportCommand<?,?> command)
Configures the authentication of the givenTransportCommand
based on a specific authentication strategy, like HTTP basic authentication, SSH username/password authentication and SSH RSA key pair authentication.
-
-
-
Method Detail
-
configureAuthentication
void configureAuthentication(org.eclipse.jgit.api.TransportCommand<?,?> command)
Configures the authentication of the givenTransportCommand
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
-
-