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
AuthenticatedXmlRpcHandlerexecute in interface AuthenticatedXmlRpcHandlermethod - 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.ExceptionAuthenticationFailedCopyright ? 1999-2002 Apache Software Foundation. All Rights Reserved.