public class PasswordCallbackHandler extends Object implements CallbackHandler
Constructor and Description |
---|
PasswordCallbackHandler(Map<String,String> initMap) |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
It attempts 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
Copyright © 2018 JBoss by Red Hat. All rights reserved.