public class AuthDemo extends java.lang.Object implements AuthenticatedXmlRpcHandler
Constructor and Description |
---|
AuthDemo() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
AuthenticatedXmlRpcHandler
execute
in interface AuthenticatedXmlRpcHandler
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
.AuthenticationFailed
- If authentication fails, an
exception of this type must be thrown.java.lang.Exception
AuthenticationFailed
Copyright ? 1999-2002 Apache Software Foundation. All Rights Reserved.