issrg.SAWS.callback
Class SAWSCmdPromptCallbackHandler

java.lang.Object
  extended by issrg.SAWS.callback.SAWSCmdPromptCallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

public class SAWSCmdPromptCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler

This class represents the callback handler that uses the command prompt to interact with the user.

Version:
1.0, Mar. 2007
Author:
E. Silva

Constructor Summary
SAWSCmdPromptCallbackHandler()
          Constructor of the class.
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
          Method that handles the callbacks sent as parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAWSCmdPromptCallbackHandler

public SAWSCmdPromptCallbackHandler()
Constructor of the class.

Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws javax.security.auth.callback.UnsupportedCallbackException
Method that handles the callbacks sent as parameter.

Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Parameters:
callbacks - The list of callbacks to be handled.
Throws:
javax.security.auth.callback.UnsupportedCallbackException - If one of the callbacks are not known (supported).