Package org.craftercms.commons.git.auth
Class BasicUsernamePasswordAuthConfigurator
java.lang.Object
org.craftercms.commons.git.auth.BasicUsernamePasswordAuthConfigurator
- All Implemented Interfaces:
GitAuthenticationConfigurator
public class BasicUsernamePasswordAuthConfigurator
extends Object
implements GitAuthenticationConfigurator
GitAuthenticationConfigurator
that uses basic username/password authentication.- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
BasicUsernamePasswordAuthConfigurator
-
-
Method Details
-
configureAuthentication
public void configureAuthentication(org.eclipse.jgit.api.TransportCommand<?, ?> command) Description copied from interface:GitAuthenticationConfigurator
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.- Specified by:
configureAuthentication
in interfaceGitAuthenticationConfigurator
- Parameters:
command
- the command to configure
-