public class SshPassphraseCredentialsProvider extends org.eclipse.jgit.transport.CredentialsProvider implements Credentials
Constructor and Description |
---|
SshPassphraseCredentialsProvider(String passphrase,
String privateKeyPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
get(org.eclipse.jgit.transport.URIish uri,
org.eclipse.jgit.transport.CredentialItem... items) |
String |
getPassword() |
String |
getPrivateKeyPath() |
String |
getUsername() |
boolean |
isInteractive() |
boolean |
supports(org.eclipse.jgit.transport.CredentialItem... items) |
public String getPrivateKeyPath()
getPrivateKeyPath
in interface Credentials
public String getPassword()
getPassword
in interface Credentials
public String getUsername()
getUsername
in interface Credentials
public boolean isInteractive()
isInteractive
in class org.eclipse.jgit.transport.CredentialsProvider
public boolean supports(org.eclipse.jgit.transport.CredentialItem... items)
supports
in class org.eclipse.jgit.transport.CredentialsProvider
public boolean get(org.eclipse.jgit.transport.URIish uri, org.eclipse.jgit.transport.CredentialItem... items) throws org.eclipse.jgit.errors.UnsupportedCredentialItem
get
in class org.eclipse.jgit.transport.CredentialsProvider
org.eclipse.jgit.errors.UnsupportedCredentialItem
Copyright © 2019. All rights reserved.