org.neociclo.odetteftp.security
Class AuthenticationChallengeCallback

java.lang.Object
  extended by org.neociclo.odetteftp.security.AuthenticationChallengeCallback
All Implemented Interfaces:
Callback

public class AuthenticationChallengeCallback
extends Object
implements Callback

Convey the received Authentication Challenge request/response with the CallbackHandler.

Version:
$Rev: 596 $ $Date: 2010-08-13 13:23:51 -0300 (Fri, 13 Aug 2010) $
Author:
Rafael Marins

Constructor Summary
AuthenticationChallengeCallback(byte[] challenge, OdetteFtpSession session)
          Constructor.
 
Method Summary
 byte[] getChallenge()
           
 byte[] getEncodedChallenge()
           
 OdetteFtpSession getSession()
           
 void setChallenge(byte[] plainChallenge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationChallengeCallback

public AuthenticationChallengeCallback(byte[] challenge,
                                       OdetteFtpSession session)
Constructor.

Parameters:
challenge - received encoded challenge
Method Detail

getEncodedChallenge

public byte[] getEncodedChallenge()

getChallenge

public byte[] getChallenge()

setChallenge

public void setChallenge(byte[] plainChallenge)

getSession

public OdetteFtpSession getSession()


ACCORD