Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected CredentialsProvider |
TransportCommand.credentialsProvider
Configured credentials provider
|
Modifier and Type | Method and Description |
---|---|
C |
TransportCommand.setCredentialsProvider(CredentialsProvider credentialsProvider)
Set the
credentialsProvider . |
TagCommand |
TagCommand.setCredentialsProvider(CredentialsProvider credentialsProvider)
Sets a
CredentialsProvider |
void |
CommitCommand.setCredentialsProvider(CredentialsProvider credentialsProvider)
Sets a
CredentialsProvider |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
GpgSigner.canLocateSigningKey(String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider)
Indicates if a signing key is available for the specified committer
and/or signing key.
|
boolean |
GpgObjectSigner.canLocateSigningKey(String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider,
GpgConfig config)
Indicates if a signing key is available for the specified committer
and/or signing key.
|
abstract void |
GpgSigner.sign(CommitBuilder commit,
String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider)
Signs the specified commit.
|
void |
GpgObjectSigner.signObject(ObjectBuilder object,
String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider,
GpgConfig config)
Signs the specified object.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainingCredentialsProvider
A credentials provider chaining multiple credentials providers
|
class |
NetRCCredentialsProvider
Simple .netrc credentials provider.
|
class |
UsernamePasswordCredentialsProvider
Simple
CredentialsProvider that always
uses the same information. |
Modifier and Type | Method and Description |
---|---|
CredentialsProvider |
Transport.getCredentialsProvider()
The configured credentials provider.
|
static CredentialsProvider |
CredentialsProvider.getDefault()
Get the default credentials provider, or null.
|
Modifier and Type | Method and Description |
---|---|
abstract RemoteSession |
SshSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Opens (or reuses) a session to a host.
|
void |
Transport.setCredentialsProvider(CredentialsProvider credentialsProvider)
A credentials provider to assist with authentication connections..
|
static void |
CredentialsProvider.setDefault(CredentialsProvider p)
Set the default credentials provider.
|
Constructor and Description |
---|
ChainingCredentialsProvider(CredentialsProvider... providers)
Create a new chaining credential provider.
|
Modifier and Type | Method and Description |
---|---|
static String |
SshSupport.runSshCommand(URIish sshUri,
CredentialsProvider provider,
FS fs,
String command,
int timeout)
Utility to execute a remote SSH command and read the first line of
output.
|
Copyright © 2021 Eclipse JGit Project. All rights reserved.