org.apache.turbine.services.xmlrpc.util
Class AuthenticatedFileHandler

java.lang.Object
  |
  +--org.apache.turbine.services.xmlrpc.util.FileHandler
        |
        +--org.apache.turbine.services.xmlrpc.util.AuthenticatedFileHandler
All Implemented Interfaces:
helma.xmlrpc.AuthenticatedXmlRpcHandler

public class AuthenticatedFileHandler
extends FileHandler
implements helma.xmlrpc.AuthenticatedXmlRpcHandler

An authenticated Handler for use with the XML-RPC service that will deal with clients sending file to the server (Turbine application) and clients getting files from the server (Turbine application). usage in TurbineResources.properties is: services.XmlRpcService.handler.file = org.apache.turbine.services.xmlrpc.util.AuthenticatedFileHandler See the FileHandler class for further documentation.

Author:
John Thorhauer

Constructor Summary
AuthenticatedFileHandler()
          Default Constructor
 
Method Summary
 java.lang.Object execute(java.lang.String method, java.util.Vector params, java.lang.String username, java.lang.String password)
          Handles all requests for an Authenticated file transfer.
 
Methods inherited from class org.apache.turbine.services.xmlrpc.util.FileHandler
get, readFileContents, remove, send, writeFileContents
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

AuthenticatedFileHandler

public AuthenticatedFileHandler()
Default Constructor
Method Detail

execute

public java.lang.Object execute(java.lang.String method,
                                java.util.Vector params,
                                java.lang.String username,
                                java.lang.String password)
                         throws java.lang.Exception
Handles all requests for an Authenticated file transfer.
Specified by:
execute in interface helma.xmlrpc.AuthenticatedXmlRpcHandler


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.