public class UTPasswordCallback extends Object implements CallbackHandler
Constructor and Description |
---|
UTPasswordCallback() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
Here, we attempt to get the password from the private alias/passwords map.
|
void |
setAliasPassword(String alias,
String password)
Add an alias/password pair to the callback mechanism.
|
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
Apache Camel