I am using Basic HTTP Authentication with MemoryRealm and this works well with JSP and Servlets and also just accessing the xindice in the browser.
but when I try to execute the same code (same as JSP or Servlet) with just java on the command line, I am getting the following error: ------------------------------------------------------ trying to register database XML:DB Exception occurred Cannot communicate with the server: http://localhost:8080/xindice/ ------------------------------------------------------ though my problem is solved, I am curious to know why the authentication is not working with Java on the command line. sincerely Laxma --- Laxma Reddy Dendi <[EMAIL PROTECTED]> wrote: > Hi All, > How can I restrict the access to xindice. I want > to > access only from localhost/my-computer. > > At present I have xindice running under tomcat. > And > I am able to modify the xml data in xindice from any > machine. > > Thanks in advance > > sincerely > Laxma > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush