CallbackHandler that prompts and reads from the command line
for answers to authentication questions.
| Access | Constructor and Description |
|---|---|
| public | ConsoleCallbackHandler()
Creates a callback handler that prompts and reads from the command line for answers to authentication questions. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | handle(Callback[]
the callbacks to handle callbacks)Implements javax. Handles the specified set of callbacks. |
| private String |
| ConsoleCallbackHandler | back to summary |
|---|---|
| public ConsoleCallbackHandler() Creates a callback handler that prompts and reads from the command line for answers to authentication questions. | |
| doConfirmation | back to summary |
|---|---|
| private void doConfirmation(ConfirmationCallback confirmation) throws IOException, UnsupportedCallbackException | |
| handle | back to summary |
|---|---|
| public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException Implements javax. Handles the specified set of callbacks.
| |
| readLine | back to summary |
|---|---|
| private String readLine() throws IOException | |