Date: 2004-06-25T07:25:28
Editor: 164.82.144.3 <>
Wiki: Xindice Wiki
Page: BasicAuthentication
URL: http://wiki.apache.org/xindice/BasicAuthentication
no comment
Change Log:
------------------------------------------------------------------------------
@@ -93,6 +93,9 @@
Database database = (Database)c.newInstance();
+ // In 1.1b5, use constants:
+ // DatabaseImpl.PROP_XMLRPC_USER
+ // DatabaseImpl.PROP_XMLRPC_PASSWORD
database.setProperty("xmlrpc-user", "xindice");
database.setProperty("xmlrpc-password", "manager");
@@ -103,4 +106,4 @@
Collection col = DatabaseManager.getCollection(uri);
}}}
-[Note: If the above does not work with xindice-1.1b4, try pulling
xindice-1.1b5 from source and building that. Make sure that you have the latest
required .jar files in your classpath or jre/lib/endorsed directory.]
+[Note: Above should work with xindice-1.1b4; if it does not, try pulling
xindice-1.1b5 from source and building that. Make sure that you have the latest
required .jar files in the classpath of your application or jre/lib/endorsed
directory - it will not work with old Xindice client library.]