Class UsernamePasswordCallbackHandler
- java.lang.Object
-
- org.codehaus.cargo.container.jboss.internal.UsernamePasswordCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class UsernamePasswordCallbackHandler extends Object implements CallbackHandler
Handler that responds to username and password requests.
-
-
Constructor Summary
Constructors Constructor Description UsernamePasswordCallbackHandler(Configuration configuration)
Saves the username and password based on the CARGOConfiguration
.
-
-
-
Constructor Detail
-
UsernamePasswordCallbackHandler
public UsernamePasswordCallbackHandler(Configuration configuration)
Saves the username and password based on the CARGOConfiguration
.- Parameters:
configuration
- CARGOConfiguration
from which to retrieve the username, password or other data.
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
-