ch.ethz.ssh2.auth
Class AuthenticationManager
java.lang.Object
ch.ethz.ssh2.auth.AuthenticationManager
- All Implemented Interfaces:
- MessageHandler
public class AuthenticationManager
- extends Object
- implements MessageHandler
AuthenticationManager.
- Version:
- 2.50, 03/15/10
- Author:
- Christian Plattner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationManager
public AuthenticationManager(TransportManager tm)
getRemainingMethods
public String[] getRemainingMethods(String user)
throws IOException
- Throws:
IOException
getBanner
public String getBanner()
getPartialSuccess
public boolean getPartialSuccess()
authenticatePublicKey
public boolean authenticatePublicKey(String user,
char[] PEMPrivateKey,
String password,
SecureRandom rnd)
throws IOException
- Throws:
IOException
authenticateNone
public boolean authenticateNone(String user)
throws IOException
- Throws:
IOException
authenticatePassword
public boolean authenticatePassword(String user,
String pass)
throws IOException
- Throws:
IOException
authenticateInteractive
public boolean authenticateInteractive(String user,
String[] submethods,
InteractiveCallback cb)
throws IOException
- Throws:
IOException
handleMessage
public void handleMessage(byte[] msg,
int msglen)
throws IOException
- Specified by:
handleMessage in interface MessageHandler
- Throws:
IOException
Copyright © 2011. All Rights Reserved.