net.sf.farrago.db
Class FarragoNoninteractiveCallbackHandler
java.lang.Object
net.sf.farrago.db.FarragoNoninteractiveCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class FarragoNoninteractiveCallbackHandler
- extends Object
- implements CallbackHandler
Callback handler for situations where user/pass is already retrieved.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/db/FarragoNoninteractiveCallbackHandler.java#5 $
- Author:
- ogothberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
user
String user
pass
String pass
FarragoNoninteractiveCallbackHandler
public FarragoNoninteractiveCallbackHandler(String user,
String pass)
clearPassword
public void clearPassword()
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- Just pass through user/pass to the corresponding callbacks
- Specified by:
handle
in interface CallbackHandler
- Throws:
IOException
UnsupportedCallbackException