org.apache.xmlrpc
Class AuthDemo

java.lang.Object
  extended by org.apache.xmlrpc.AuthDemo
All Implemented Interfaces:
AuthenticatedXmlRpcHandler

public class AuthDemo
extends java.lang.Object
implements AuthenticatedXmlRpcHandler

Version:
$Id: AuthDemo.html 359531 2005-12-28 13:59:25Z jochen $
Author:
Hannes Wallnoefer

Constructor Summary
AuthDemo()
           
 
Method Summary
 java.lang.Object execute(java.lang.String method, java.util.Vector v, java.lang.String user, java.lang.String password)
          Return the result, or throw an Exception if something went wrong.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthDemo

public AuthDemo()
Method Detail

execute

public java.lang.Object execute(java.lang.String method,
                                java.util.Vector v,
                                java.lang.String user,
                                java.lang.String password)
                         throws java.lang.Exception
Description copied from interface: AuthenticatedXmlRpcHandler
Return the result, or throw an Exception if something went wrong.

Specified by:
execute in interface AuthenticatedXmlRpcHandler
Parameters:
method - The name of the XML-RPC method to invoke.
v - 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.
java.lang.Exception
See Also:
AuthenticationFailed


Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.