Class SshKeyPasswordProvider
java.lang.Object
swiss.trustbroker.common.setup.config.SshKeyPasswordProvider
- All Implemented Interfaces:
org.eclipse.jgit.transport.sshd.KeyPasswordProvider
public class SshKeyPasswordProvider
extends Object
implements org.eclipse.jgit.transport.sshd.KeyPasswordProvider
-
Constructor Summary
ConstructorsConstructorDescriptionSshKeyPasswordProvider(org.eclipse.jgit.transport.CredentialsProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionchar[]getPassphrase(org.eclipse.jgit.transport.URIish uri, int attempt) booleanvoidsetAttempts(int maxNumberOfAttempts) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jgit.transport.sshd.KeyPasswordProvider
getAttempts
-
Constructor Details
-
SshKeyPasswordProvider
public SshKeyPasswordProvider(org.eclipse.jgit.transport.CredentialsProvider provider)
-
-
Method Details
-
getPassphrase
- Specified by:
getPassphrasein interfaceorg.eclipse.jgit.transport.sshd.KeyPasswordProvider- Throws:
IOException
-
setAttempts
public void setAttempts(int maxNumberOfAttempts) - Specified by:
setAttemptsin interfaceorg.eclipse.jgit.transport.sshd.KeyPasswordProvider
-
keyLoaded
- Specified by:
keyLoadedin interfaceorg.eclipse.jgit.transport.sshd.KeyPasswordProvider
-