<div dir="ltr">Hi.<div><br></div><div>Coming back to this since I've spent some more time poking around the ASpace code and have a little better</div><div>understanding of its layout and Solr in general.</div><div><br></div><div>Seems like I could <a href="http://ruby-doc.org/stdlib-2.3.1/libdoc/net/http/rdoc/Net/HTTP.html#class-Net::HTTP-label-Basic+Authentication">add basic_auth credentials on the NetHTTP request object</a> in <font face="monospace, monospace">./wars/indexer.war/indexer_common#do_http_request().</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">Does anyone have experience monkey-patching methods defined in the warred files?</font></div><div><font face="arial, helvetica, sans-serif">I tried to do it in a plugin but it seems that plugins load before the content of indexer.war.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I don't <i>mind</i> hand-editing and regenerating indexer.war - but it seems less palatable (believe it or not)</font></div><div><font face="arial, helvetica, sans-serif">than monkey patching and more oral history to maintain once it's time to update our version of ASpace.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Stephen</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="monospace, monospace"><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 1:30 PM, Majewski, Steven Dennis (sdm7g) <span dir="ltr"><<a href="mailto:sdm7g@eservices.virginia.edu" target="_blank">sdm7g@eservices.virginia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I think you would have to add authentication to the indexer code depending on what authentication method you are using for Solr. I’m guessing that there are just too many possible authentication methods to support, so that’s why ASpace is shipped with it’s own Solr that you can firewall restrict to localhost.<br>
<br>
<br>
— Steve Majewski<br>
<div><div class="h5"><br>
<br>
<br>
> On May 6, 2016, at 12:45 PM, Stephen Schor <<a href="mailto:stephenschor@nypl.org">stephenschor@nypl.org</a>> wrote:<br>
><br>
> Hi.<br>
><br>
> I'm thinking about running ASpace with an external Solr.<br>
> After looking at the documentation on using an external Solr - I didn't<br>
> see anything regarding Solr username/password.<br>
><br>
> I'd be grateful if someone could point me in the right direction.<br>
><br>
> Thanks for your time,<br>
> Stephen<br>
</div></div>> _______________________________________________<br>
> Archivesspace_Users_Group mailing list<br>
> <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote></div><br></div>