public class GitCredentialsProviderFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
awsCodeCommitEnabled
Enable the AWS Code Commit credentials provider for Git URI's
that match the AWS Code Commit pattern of
https://git-codecommit.${AWS_REGION}.amazonaws.com/${repoPath}.
|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
GitCredentialsProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jgit.transport.CredentialsProvider |
createFor(String uri,
String username,
String password,
String passphrase)
Search for a credential provider that will handle the specified URI.
|
boolean |
isAwsCodeCommitEnabled() |
void |
setAwsCodeCommitEnabled(boolean awsCodeCommitEnabled) |
protected org.apache.commons.logging.Log logger
protected boolean awsCodeCommitEnabled
public org.eclipse.jgit.transport.CredentialsProvider createFor(String uri, String username, String password, String passphrase)
uri - the URI of the repository (cannot be null)username - the username provided for the repository (may be null)password - the password provided for the repository (may be null)passphrase - the passphrase to unlock the ssh private key (may be null)public boolean isAwsCodeCommitEnabled()
public void setAwsCodeCommitEnabled(boolean awsCodeCommitEnabled)
awsCodeCommitEnabled - the awsCodeCommitEnabled to setCopyright © 2017 Pivotal Software, Inc.. All rights reserved.