issrg.SAWS.callback
Class SAWSFileCallbackHandler

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

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

This class represents the callback handler that uses graphical components to interact with the user.

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

Constructor Summary
SAWSFileCallbackHandler(java.lang.String inputFile, java.lang.String outputFile)
           
 
Method Summary
 java.lang.String getInputFile()
           
 java.lang.String getOutputFile()
           
 void handle(javax.security.auth.callback.Callback[] callbacks)
          Method that handles the callbacks sent as parameter.
 void setInputFile(java.lang.String inputFile)
           
 void setOutputFile(java.lang.String outputFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAWSFileCallbackHandler

public SAWSFileCallbackHandler(java.lang.String inputFile,
                               java.lang.String outputFile)
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).

getInputFile

public java.lang.String getInputFile()

setInputFile

public void setInputFile(java.lang.String inputFile)

getOutputFile

public java.lang.String getOutputFile()

setOutputFile

public void setOutputFile(java.lang.String outputFile)