org.apache.xmlrpc
Interface AuthenticatedXmlRpcHandler

All Known Implementing Classes:
AuthDemo

public interface AuthenticatedXmlRpcHandler

An XML-RPC handler that also handles HTTP authentication.

Author:
Hannes Wallnoefer
See Also:
AuthenticationFailed

Method Summary
 java.lang.Object execute(java.lang.String method, java.util.Vector params, java.lang.String user, java.lang.String password)
          Return the result, or throw an Exception if something went wrong.
 

Method Detail

execute

public java.lang.Object execute(java.lang.String method,
                                java.util.Vector params,
                                java.lang.String user,
                                java.lang.String password)
                         throws java.lang.Exception
Return the result, or throw an Exception if something went wrong.
Parameters:
method - The name of the XML-RPC method to invoke.
params - The parameters to the XML-RPC method.
user - The user name.
password - The password of user.
Returns:
The response.
Throws:
AuthenticationFailed - If authentication fails, an exception of this type must be thrown.
See Also:
AuthenticationFailed


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