*** empty log message ***

This commit is contained in:
hns 2001-01-24 14:58:53 +00:00
parent 697f3a110c
commit 4b6f0050e8

View file

@ -440,7 +440,7 @@ class Echo implements XmlRpcHandler {
class AuthDemo implements AuthenticatedXmlRpcHandler { class AuthDemo implements AuthenticatedXmlRpcHandler {
public Object execute (String method, Vector v, String user, String password) throws Exception { public Object execute (String method, Vector v, String user, String password) throws Exception {
// our simplistic authentication guidelines never fail ;) // our simplistic authentication guidelines never fail ;)
if (user == null || user.startsWith ("bad")) if (user == null || user.startsWith ("script kiddie"))
throw new XmlRpcException (5, "Sorry, you're not allowed in here!"); throw new XmlRpcException (5, "Sorry, you're not allowed in here!");
return ("Hello "+user); return ("Hello "+user);
} }