Come from the JAAS authentication tutorial The application implements the
CallbackHandler.
This application is text-based. Therefore it displays
information to the user using the OutputStreams System.out and System.err,
and gathers input from the user using the InputStream System.in.
author: Sun Tutorial
Method Summary
public void
handle(Callback[] callbacks) Invoke an array of Callbacks.
Parameters: callbacks - an array of Callback objects whichcontain the information requested by an underlying securityservice to be retrieved or displayed. throws: IOException - if an input or output error occurs.
Invoke an array of Callbacks.
Parameters: callbacks - an array of Callback objects whichcontain the information requested by an underlying securityservice to be retrieved or displayed. throws: IOException - if an input or output error occurs.
throws: UnsupportedCallbackException - if the implementation of this methoddoes not support one or more of the Callbacks specified in thecallbacks parameter.