com.sshtools.daemon.authentication
Class PublicKeyAuthenticationServer

java.lang.Object
  extended by com.sshtools.daemon.authentication.SshAuthenticationServer
      extended by com.sshtools.daemon.authentication.PublicKeyAuthenticationServer

public class PublicKeyAuthenticationServer
extends SshAuthenticationServer

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

Field Summary
private  org.apache.commons.logging.Log log
           
private static java.lang.Class pkv
           
 
Constructor Summary
PublicKeyAuthenticationServer()
          Creates a new PublicKeyAuthenticationServer object.
 
Method Summary
 int authenticate(AuthenticationProtocolServer authentication, SshMsgUserAuthRequest msg)
           
 java.lang.String getMethodName()
           
static void setVerificationImpl(java.lang.Class pkv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pkv

private static java.lang.Class pkv

log

private org.apache.commons.logging.Log log
Constructor Detail

PublicKeyAuthenticationServer

public PublicKeyAuthenticationServer()
Creates a new PublicKeyAuthenticationServer object.

Method Detail

getMethodName

public java.lang.String getMethodName()
Specified by:
getMethodName in class SshAuthenticationServer
Returns:

setVerificationImpl

public static void setVerificationImpl(java.lang.Class pkv)
Parameters:
pkv -

authenticate

public int authenticate(AuthenticationProtocolServer authentication,
                        SshMsgUserAuthRequest msg)
                 throws java.io.IOException
Specified by:
authenticate in class SshAuthenticationServer
Parameters:
authentication -
msg -
Returns:
Throws:
java.io.IOException