public class CustomCallbackHandler extends Object implements CallbackHandler
© Copyright 2007 Sans Pareil Technologies, Inc.
| Constructor and Description |
|---|
CustomCallbackHandler(String username,
char[] password)
Create a new callback handler using the specified values.
|
CustomCallbackHandler(String username,
char[] password,
char[] key)
Create a new callback handler using the specified values.
|
CustomCallbackHandler(String username,
String password)
Create a new callback handler using the specified values.
|
CustomCallbackHandler(String username,
String password,
String key)
Create a new callback handler using the specified values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Callback[] callbacks)
Retrieve or display the information requested in the provided
Callbacks. |
public CustomCallbackHandler(String username, String password)
public CustomCallbackHandler(String username, char[] password)
public CustomCallbackHandler(String username, String password, String key)
public CustomCallbackHandler(String username, char[] password, char[] key)
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
Callbacks.handle in interface CallbackHandlercallbacks - An array of Callback
objects provided by an underlying security service which contains
the information requested to be retrieved or displayed.IOException - If an input or output error occurs.UnsupportedCallbackException - If the implementation of this
method does not support one or more of the Callbacks specified in
the callbacks parameter.