Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.awtui | |
org.eclipse.jgit.console | |
org.eclipse.jgit.internal.transport.sshd | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.lib.internal | |
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.transport.ssh | |
org.eclipse.jgit.transport.sshd | |
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 |
---|---|
void |
CommitCommand.setCredentialsProvider(CredentialsProvider credentialsProvider)
Sets a
CredentialsProvider |
C |
TransportCommand.setCredentialsProvider(CredentialsProvider credentialsProvider)
Set the
credentialsProvider . |
Modifier and Type | Class and Description |
---|---|
class |
AwtCredentialsProvider
Interacts with the user during authentication by using AWT/Swing dialogs.
|
Modifier and Type | Class and Description |
---|---|
class |
ConsoleCredentialsProvider
Interacts with the user during authentication by using the text console.
|
Modifier and Type | Method and Description |
---|---|
CredentialsProvider |
JGitSshClient.getCredentialsProvider()
Retrieves the
CredentialsProvider set for this client. |
CredentialsProvider |
JGitClientSession.getCredentialsProvider()
Retrieves the
CredentialsProvider set for this session. |
Modifier and Type | Method and Description |
---|---|
void |
JGitSshClient.setCredentialsProvider(CredentialsProvider provider)
Sets the
CredentialsProvider for this client. |
void |
JGitClientSession.setCredentialsProvider(CredentialsProvider provider)
Sets the
CredentialsProvider for this session. |
Constructor and Description |
---|
JGitUserInteraction(CredentialsProvider provider)
Creates a new
JGitUserInteraction for interactive password input
based on the given 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.
|
abstract void |
GpgSigner.sign(CommitBuilder commit,
String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider)
Signs the specified commit.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BouncyCastleGpgSigner.canLocateSigningKey(String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider) |
void |
BouncyCastleGpgSigner.sign(CommitBuilder commit,
String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider) |
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 |
---|---|
RemoteSession |
JschConfigSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Open (or reuse) a session to a host.
|
abstract RemoteSession |
SshSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Open (or reuse) 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.
|
CredentialsProviderUserInfo(com.jcraft.jsch.Session session,
CredentialsProvider credentialsProvider)
Wrap a CredentialsProvider to make it suitable for use with JSch.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
SshTestHarness.TestCredentialsProvider |
Modifier and Type | Method and Description |
---|---|
protected File |
SshTestHarness.cloneWith(String uri,
File to,
CredentialsProvider provider,
String... config) |
protected void |
SshTestHarness.pushTo(CredentialsProvider provider,
File localClone) |
Modifier and Type | Method and Description |
---|---|
protected KeyPasswordProvider |
SshdSessionFactory.createKeyPasswordProvider(CredentialsProvider provider)
Creates a
KeyPasswordProvider for a new session. |
SshdSession |
SshdSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms) |
Constructor and Description |
---|
IdentityPasswordProvider(CredentialsProvider provider)
Creates a new
IdentityPasswordProvider to get the passphrase for
an encrypted identity. |
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 © 2019 Eclipse JGit Project. All rights reserved.