RE: [EXTERNAL] [VuFind-Tech] Basic Authentication with SolrMarc Indexer

9 views
Skip to first unread message

Demian Katz

unread,
Feb 21, 2023, 8:03:45 AM2/21/23
to Christian Jägle, vufin...@lists.sourceforge.net, solrma...@googlegroups.com
Christian,

It's been on my list to investigate this as well, but I haven't had a chance yet, so I'm not certain of the answer. I'm copying the SolrMarc-tech mailing list into this reply in case somebody there already has an answer for you. If you don't get a response in a couple of days, please remind me and I'll do some deeper investigation of my own!

Also, out of curiosity, what error did you get when you tried to inject credentials into the URL?

thanks,
Demian

-----Original Message-----
From: Christian Jägle <christia...@ub.uni-freiburg.de>
Sent: Tuesday, February 21, 2023 4:44 AM
To: vufin...@lists.sourceforge.net
Subject: [EXTERNAL] [VuFind-Tech] Basic Authentication with SolrMarc Indexer

Hello everyone,

I am looking into Solr Authentication and wanted to try out basic authentication. The Solr configuration seems to work fine. But I am not able to index documents with SolrMarc. I tried to inject the credentials in the URL (in the property file) but SolrMarc doesn't like that.
Any ideas? Is it maybe possible to do it with Global Auth Credentials?
Where would I configure the java properties?
(-Dsolr.httpclient.builder.factory=org.apache.solr.client.solrj.impl.PreemptiveBasicAuthClientBuilderFactory.
PreemptiveBasicAuthClientBuilderFactory and -Dbasicauth=username:password)

Thanks,
Christian

--
Christian Jägle

Albert-Ludwigs-Universität Freiburg
Universitätsbibliothek
Platz der Universität 2 | Postfach 1629
D-79098 Freiburg | D-79016 Freiburg

Telefon: +49 761 203-3886
E-Mail: christia...@ub.uni-freiburg.de
Internet: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ub.uni-freiburg.de%2F&data=05%7C01%7Cdemian.katz%40villanova.edu%7Cbe2f9b01c3534dc9961e08db13f789f6%7C765a8de5cf9444f09cafae5bf8cfa366%7C0%7C0%7C638125726301812938%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ztE03e2QNx1FLn2uh3YSNpYsQSTpP3qqX1pWkS4aaXE%3D&reserved=0
Reply all
Reply to author
Forward
0 new messages