Package org.craftercms.commons.git.auth
Interface GitAuthenticationConfigurator
-
- All Known Implementing Classes:
AbstractSshAuthConfigurator,BasicUsernamePasswordAuthConfigurator,NoopAuthConfigurator,SshPasswordAuthConfigurator,SshPrivateKeyAuthConfigurator
public interface GitAuthenticationConfiguratorUtility 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 voidconfigureAuthentication(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 Detail
-
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
-
-