Package net.spy.memcached.auth
Class PlainCallbackHandler
java.lang.Object
net.spy.memcached.auth.PlainCallbackHandler
- All Implemented Interfaces:
CallbackHandler
Callback handler for doing plain auth.
-
Constructor Summary
ConstructorsConstructorDescriptionPlainCallbackHandler(String u, String p) Construct a plain callback handler with the given username and password. -
Method Summary
-
Constructor Details
-
PlainCallbackHandler
Construct a plain callback handler with the given username and password.- Parameters:
u- the usernamep- the password
-
-
Method Details
-
handle
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-