public class PasswordClientCallbackHandler extends Object implements CallbackHandler
| Modifier and Type | Field and Description |
|---|---|
static char[] |
EMPTY_PASSWORD
An empty password array.
|
| Constructor and Description |
|---|
PasswordClientCallbackHandler(String actualUserName,
String actualUserRealm,
char[] password)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Callback[] callbacks)
Handle the array of given callbacks.
|
public PasswordClientCallbackHandler(String actualUserName, String actualUserRealm, char[] password)
actualUserName - the user name to supply, or null for noneactualUserRealm - the user realm to supply, or null for nonepassword - the password to supply, or null for nonepublic void handle(Callback[] callbacks) throws UnsupportedCallbackException
handle in interface CallbackHandlercallbacks - the callbacks to handleUnsupportedCallbackException - if a callback is unsupportedCopyright © 2017 JBoss by Red Hat. All rights reserved.