com.sshtools.daemon.authentication
Class SshAuthenticationServer

java.lang.Object
  extended by com.sshtools.daemon.authentication.SshAuthenticationServer
Direct Known Subclasses:
KBIPasswordAuthenticationServer, PasswordAuthenticationServer, PublicKeyAuthenticationServer

public abstract class SshAuthenticationServer
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private  java.lang.String username
           
 
Constructor Summary
SshAuthenticationServer()
           
 
Method Summary
abstract  int authenticate(AuthenticationProtocolServer authentication, SshMsgUserAuthRequest msg)
           
abstract  java.lang.String getMethodName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

username

private java.lang.String username
Constructor Detail

SshAuthenticationServer

public SshAuthenticationServer()
Method Detail

getMethodName

public abstract java.lang.String getMethodName()
Returns:

authenticate

public abstract int authenticate(AuthenticationProtocolServer authentication,
                                 SshMsgUserAuthRequest msg)
                          throws java.io.IOException
Parameters:
authentication -
msg -
Returns:
Throws:
java.io.IOException