You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by xi...@xml.apache.org on 2004/07/12 03:36:54 UTC
[Xindice Wiki] Updated: BasicAuthentication
Date: 2004-07-11T18:36:53
Editor: 150.203.175.163 <>
Wiki: Xindice Wiki
Page: BasicAuthentication
URL: http://wiki.apache.org/xindice/BasicAuthentication
no comment
Change Log:
------------------------------------------------------------------------------
@@ -78,11 +78,17 @@
== Configure Xindice XML-RPC Driver (Client side) ==
-Xindice XML-RPC driver should be configured to know the username and password it should use to access the server. This can be done with system properties:
+Xindice XML-RPC driver should be configured to know the username and password it should use to access the server. This can be done with system properties.
{{{
-Dxindice.xmlrpc.user=xindice
-Dxindice.xmlrpc.password=manager
+}}}
+
+In particular, you can add these arguments to the file $TOMCAT_HOME/webapps/xindice/WEB-INF/xindice.sh, on the line that begins with $JAVACMD. For example, (edited for brevity)
+
+{{{
+ $JAVACMD ... -Dxindice.xmlrpc.user=xindice -Dxindice.xmlrpc.password=manager -classpath "$CP" org.apache.xindice.tools.XMLTools $*
}}}
Or programmatically: