public interface RepeatingFilePasswordProvider
extends org.apache.sshd.common.config.keys.FilePasswordProvider
FilePasswordProvider
augmented to support repeatedly asking for
passwords.Modifier and Type | Method and Description |
---|---|
default int |
getAttempts()
Gets the maximum number of attempts to get a password that should be
attempted for one identity resource through this provider.
|
void |
setAttempts(int numberOfPasswordPrompts)
Define the maximum number of attempts to get a password that should be
attempted for one identity resource through this provider.
|
void setAttempts(int numberOfPasswordPrompts)
numberOfPasswordPrompts
- number of times to ask for a password;
IllegalArgumentException
may be thrown if <= 0default int getAttempts()
Copyright © 2019 Eclipse JGit Project. All rights reserved.