Package com.atlassian.bamboo.crypto
Class PlainTextPasswordFinder
java.lang.Object
com.atlassian.bamboo.crypto.PlainTextPasswordFinder
- All Implemented Interfaces:
org.apache.sshd.common.config.keys.FilePasswordProvider
public class PlainTextPasswordFinder
extends Object
implements org.apache.sshd.common.config.keys.FilePasswordProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.config.keys.FilePasswordProvider
org.apache.sshd.common.config.keys.FilePasswordProvider.Decoder<T extends Object>, org.apache.sshd.common.config.keys.FilePasswordProvider.ResourceDecodeResult
-
Field Summary
Fields inherited from interface org.apache.sshd.common.config.keys.FilePasswordProvider
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPassword
(org.apache.sshd.common.session.SessionContext sessionContext, org.apache.sshd.common.NamedResource namedResource, int i) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.sshd.common.config.keys.FilePasswordProvider
decode, handleDecodeAttemptResult
-
Constructor Details
-
PlainTextPasswordFinder
-
-
Method Details
-
getPassword
public String getPassword(org.apache.sshd.common.session.SessionContext sessionContext, org.apache.sshd.common.NamedResource namedResource, int i) throws IOException - Specified by:
getPassword
in interfaceorg.apache.sshd.common.config.keys.FilePasswordProvider
- Throws:
IOException
-