org.neociclo.odetteftp.support
Class PasswordAuthenticationHandler

java.lang.Object
  extended by org.neociclo.odetteftp.support.PasswordAuthenticationHandler
All Implemented Interfaces:
OneToOneHandler<PasswordAuthenticationCallback>

public abstract class PasswordAuthenticationHandler
extends Object
implements OneToOneHandler<PasswordAuthenticationCallback>

Version:
$Rev: 815 $ $Date: 2010-10-20 21:19:43 -0200 (Wed, 20 Oct 2010) $
Author:
Rafael Marins

Constructor Summary
PasswordAuthenticationHandler()
           
 
Method Summary
abstract  PasswordAuthenticationCallback.AuthenticationResult authenticate(String user, String password)
           
 void handle(PasswordAuthenticationCallback cb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordAuthenticationHandler

public PasswordAuthenticationHandler()
Method Detail

handle

public void handle(PasswordAuthenticationCallback cb)
            throws IOException
Specified by:
handle in interface OneToOneHandler<PasswordAuthenticationCallback>
Throws:
IOException - if an input or output error occur.

authenticate

public abstract PasswordAuthenticationCallback.AuthenticationResult authenticate(String user,
                                                                                 String password)
                                                                          throws IOException
Throws:
IOException


ACCORD