com.mindbright.ssh
Interface SSHAuthenticator
- All Known Implementing Classes:
- SSH1Cisco, SSH1Example, SSHPropertyHandler
public interface SSHAuthenticator
getUsername
java.lang.String getUsername(SSHClientUser origin)
throws java.io.IOException
- Throws:
java.io.IOException
getPassword
java.lang.String getPassword(SSHClientUser origin)
throws java.io.IOException
- Throws:
java.io.IOException
getChallengeResponse
java.lang.String getChallengeResponse(SSHClientUser origin,
java.lang.String challenge)
throws java.io.IOException
- Throws:
java.io.IOException
getAuthTypes
int[] getAuthTypes(SSHClientUser origin)
getCipher
int getCipher(SSHClientUser origin)
getIdentityFile
SSHRSAKeyFile getIdentityFile(SSHClientUser origin)
throws java.io.IOException
- Throws:
java.io.IOException
getIdentityPassword
java.lang.String getIdentityPassword(SSHClientUser origin)
throws java.io.IOException
- Throws:
java.io.IOException
verifyKnownHosts
boolean verifyKnownHosts(RSAPublicKey hostPub)
throws java.io.IOException
- Throws:
java.io.IOException