: Everything works and is setup correctly, but when I change the 'url'
: attribute in the entity declaration to a url on my intranet that requires
: basic authentication (username and password),  I get a HTTP 401 error when
: solr attempts to read the rss feed and update the index.
: 
: Question: is there a way to specify a username and password for solr to use
: for an HttpDataSource?

RFC1738s3.1 specifies that username:password for can be included directly 
in URLs -- this has traditionally worked for http URLs when dealing with 
basic authentication, but some clients/servers reject URLs that utilize 
this feature as being "unsafe".

I haven't tried it using DataImportHandler, but i don'tbelieve ther'es 
anything in the code that would outright reject such URLs...

   http://username:passw...@hostname.tld/rss-path.xml


http://tools.ietf.org/html/rfc1738#section-3.1


-Hoss

Reply via email to