com.trilead.ssh2.auth
Class AuthenticationManager
java.lang.Object
com.trilead.ssh2.auth.AuthenticationManager
- MessageHandler
public class AuthenticationManager
extends java.lang.Object
AuthenticationManager.
authenticateInteractive
public boolean authenticateInteractive(String user,
String[] submethods,
InteractiveCallback cb)
throws IOException
authenticateNone
public boolean authenticateNone(String user)
throws IOException
authenticatePassword
public boolean authenticatePassword(String user,
String pass)
throws IOException
authenticatePublicKey
public boolean authenticatePublicKey(String user,
char[] PEMPrivateKey,
String password,
SecureRandom rnd)
throws IOException
getPartialSuccess
public boolean getPartialSuccess()
getRemainingMethods
public String[] getRemainingMethods(String user)
throws IOException