org.objectweb.jonas.security.auth.callback.LoginCallbackHandler Class Reference

List of all members.

Public Member Functions

void handle (Callback[] callbacks) throws IOException, UnsupportedCallbackException

Detailed Description

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

Definition at line 50 of file LoginCallbackHandler.java.


Member Function Documentation

void org.objectweb.jonas.security.auth.callback.LoginCallbackHandler.handle Callback[]  callbacks  )  throws IOException, UnsupportedCallbackException
 

Invoke an array of Callbacks.

Parameters:
callbacks an array of Callback objects which contain the information requested by an underlying security service to be retrieved or displayed.
Exceptions:
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.

Definition at line 67 of file LoginCallbackHandler.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:39 2005 for JOnAS by  doxygen 1.3.9.1