org.neociclo.odetteftp.support
Class PasswordAuthenticationHandler
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordAuthenticationHandler
public PasswordAuthenticationHandler()
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