public class AuthenticationManager extends Object implements MessageHandler
| Constructor and Description |
|---|
AuthenticationManager(TransportManager tm) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticateInteractive(String user,
String[] submethods,
InteractiveCallback cb) |
boolean |
authenticateNone(String user) |
boolean |
authenticatePassword(String user,
String pass) |
boolean |
authenticatePublicKey(String user,
char[] PEMPrivateKey,
String password,
SecureRandom rnd) |
boolean |
getPartialSuccess() |
String[] |
getRemainingMethods(String user) |
void |
handleMessage(byte[] msg,
int msglen) |
public AuthenticationManager(TransportManager tm)
public String[] getRemainingMethods(String user) throws IOException
IOExceptionpublic boolean getPartialSuccess()
public boolean authenticatePublicKey(String user, char[] PEMPrivateKey, String password, SecureRandom rnd) throws IOException
IOExceptionpublic boolean authenticateNone(String user) throws IOException
IOExceptionpublic boolean authenticatePassword(String user, String pass) throws IOException
IOExceptionpublic boolean authenticateInteractive(String user, String[] submethods, InteractiveCallback cb) throws IOException
IOExceptionpublic void handleMessage(byte[] msg,
int msglen)
throws IOException
handleMessage in interface MessageHandlerIOExceptionCopyright © 2013. All Rights Reserved.