Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-03 Thread Noble Paul
1:36 PM, Kevin Lee <kgle...@yahoo.com.invalid> wrote: >> I’ve found that completely exiting Chrome or Firefox and opening it back up >> re-prompts for credentials when they are required. It was re-prompting with >> the /browse path where authentication was working eac

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-02 Thread Kevin Lee
I’ve found that completely exiting Chrome or Firefox and opening it back up re-prompts for credentials when they are required. It was re-prompting with the /browse path where authentication was working each time I completely exited and started the browser again, however it won’t re-prompt

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-02 Thread Noble Paul
he “adminRole”. However, after uploading the new > security.json and restarting the web browser, it doesn’t seem to be requiring > credentials when calling the RELOAD action on the Collections API. The only > thing that seems to work is the custom permission “browse” which is requiring > a

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-02 Thread Noble Paul
are required. It was re-prompting with > the /browse path where authentication was working each time I completely > exited and started the browser again, however it won’t re-prompt unless you > exit completely and close all running instances so I closed all instances > each time to test. >

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Kevin Lee
and restarting the web browser, it doesn’t seem to be requiring credentials when calling the RELOAD action on the Collections API. The only thing that seems to work is the custom permission “browse” which is requiring authentication before allowing me to pull up the page. Am I using

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Kevin Lee
Thanks for the clarification! So is the wiki page incorrect at https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin which says that the admin ui will require authentication once the authorization plugin is activated? "An authorization plugin is also avai

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Noble Paul
e running into any issues trying to get the authentication and > authorization plugins in 5.3 working? > >> On Aug 29, 2015, at 2:30 AM, Kevin Lee <kgle...@yahoo.com.INVALID> wrote: >> >> Hi, >> >> I’m trying to use the new basic auth plugin for Solr 5.3 and it do

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Noble Paul
page incorrect at > https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin > which says that the admin ui will require authentication once the > authorization plugin is activated? > > "An authorization plugin is also available to configure Solr with

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Noble Paul
prompt you for > credentials (if those APIs are protected) > > On Tue, Sep 1, 2015 at 12:41 PM, Kevin Lee <kgle...@yahoo.com.invalid> wrote: >> Thanks for the clarification! >> >> So is the wiki page incorrect at >> https://cwiki.apache.org/confluence/disp

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread shamik
this message in context: http://lucene.472066.n3.nabble.com/Issue-Using-Solr-5-3-Authentication-and-Authorization-Plugins-tp4226011p4226552.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Noble Paul
u for >> credentials (if those APIs are protected) >> >> On Tue, Sep 1, 2015 at 12:41 PM, Kevin Lee <kgle...@yahoo.com.invalid> wrote: >>> Thanks for the clarification! >>> >>> So is the wiki page incorrect at >>> https://cwiki.apache.org/

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-08-31 Thread Kevin Lee
Anyone else running into any issues trying to get the authentication and authorization plugins in 5.3 working? > On Aug 29, 2015, at 2:30 AM, Kevin Lee <kgle...@yahoo.com.INVALID> wrote: > > Hi, > > I’m trying to use the new basic auth plugin for Solr 5.3 and it doesn’t

Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-08-29 Thread Kevin Lee
after 3rd from last “}” up to just after the last “]”. { authentication:{ class:solr.BasicAuthPlugin, credentials:{solr:IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c=} }, authorization:{ class:solr.RuleBasedAuthorizationPlugin, permissions

Securing Solr 5.3 with Basic Authentication

2015-08-26 Thread Gofio Code
With version 5.3 Solr have full-featured authentication and authorization plugins that use Basic authentication and “permission rules” which are completely driven from ZooKeeper. So I have tried that without success follwong the info in https://cwiki.apache.org/confluence/display/solr/Securing

RE: User Authentication

2015-08-25 Thread Davis, Daniel (NIH/NLM) [C]
, Tom [mailto:tom.lezo...@vanderbilt.edu] Sent: Monday, August 24, 2015 4:37 PM To: solr-user@lucene.apache.org Subject: Re: User Authentication Bosco, We use CAS for user authentication, not sure if we have Kerberos working anywhere. Also we are not using ZooKeeper, because we are only running

Re: User Authentication

2015-08-25 Thread Don Bosco Durai
You might have to use 5.3 when it is publicly available. It supports Basic Auth. But based on my understanding for the authentication/authorization framework implemented in 5.2, you need to use Solr Cloud/Zookeeper for configuring the plugins. Noble, Anshum or Ishan can confirm

User Authentication

2015-08-24 Thread LeZotte, Tom
Hi Solr Community I have been trying to add user authentication to our Solr 5.3.1 RedHat install. I’ve found some examples on user authentication on the Jetty side. But they have failed. Does any one have a step by step example on authentication for the admin screen? And a core? Thanks Tom

Re: User Authentication

2015-08-24 Thread Alexandre Rafalovitch
to your middleware. If you are looking for a HTML interface that talks directly to Solr after authentication, that's not the right way to set it up. That said, some security features are being rolled out and you should definitely check the release notes for the 5.3. Regards, Alex. Solr

Re: User Authentication

2015-08-24 Thread LeZotte, Tom
Alex I got a super secret release of Solr 5.3.1, wasn’t suppose to say anything. Yes I’m running 5.2.1, I will check out the release notes for 5.3. Was looking for three types of user authentication, I guess. 1. the Admin Console 2. User auth for each Core ( and select and update) on a server. 3

Re: User Authentication

2015-08-24 Thread Noble Paul
, I will check out the release notes for 5.3. Was looking for three types of user authentication, I guess. 1. the Admin Console 2. User auth for each Core ( and select and update) on a server. 3. HTML interface access (example: ajax-solrhttps://github.com/evolvingweb/ajax-solr) Thanks Tom

Re: User Authentication

2015-08-24 Thread Steven White
, 2015 at 9:23 PM, LeZotte, Tom tom.lezo...@vanderbilt.edu wrote: Alex I got a super secret release of Solr 5.3.1, wasn’t suppose to say anything. Yes I’m running 5.2.1, I will check out the release notes for 5.3. Was looking for three types of user authentication, I guess. 1. the Admin

Re: User Authentication

2015-08-24 Thread Steven White
. Yes I¹m running 5.2.1, I will check out the release notes for 5.3. Was looking for three types of user authentication, I guess. 1. the Admin Console 2. User auth for each Core ( and select and update) on a server. 3. HTML interface access (example: ajax-solr https://github.com

Re: User Authentication

2015-08-24 Thread Don Bosco Durai
to say anything. Yes I¹m running 5.2.1, I will check out the release notes for 5.3. Was looking for three types of user authentication, I guess. 1. the Admin Console 2. User auth for each Core ( and select and update) on a server. 3. HTML interface access (example: ajax-solr https

Re: User Authentication

2015-08-24 Thread LeZotte, Tom
Bosco, We use CAS for user authentication, not sure if we have Kerberos working anywhere. Also we are not using ZooKeeper, because we are only running one server currently. thanks Tom LeZotte Health I.T. - Senior Product Developer (p) 615-875-8830 On Aug 24, 2015, at 3:12 PM, Don Bosco

Re: User Authentication

2015-08-24 Thread Noble Paul
out the release notes for 5.3. Was looking for three types of user authentication, I guess. 1. the Admin Console 2. User auth for each Core ( and select and update) on a server. 3. HTML interface access (example: ajax-solr https://github.com/evolvingweb/ajax-solr) Thanks Tom

Re: SOLR to SOLR communication with custom authentication

2015-08-21 Thread Ramkumar R. Aiyengar
Custom authentication support was added in 5x, and the imminent (in the next few days) 5.3 release has a lot of features in this regard, including a basic authentication module, I would suggest upgrading to it. 5x versions (include 5.3) do support Java 7, so I don't see an issue here? On 20 Aug

SOLR to SOLR communication with custom authentication

2015-08-20 Thread Prasad Bodapati
there is a way to configure replication requests to use basic HTTP authentication but not to use custom authentication. I have tried to override ReplicationHandler and SnapPuller classes to use provide custom authentication but I couldn't. I have tried to follow instructions at https://wiki.apache.org/solr

curl on debian linux gives http authentication error

2015-04-08 Thread jainam vora
Hi, I have installed Curl on debian linux. But when i use curl to create collection i am getting http autentication error. -- Thanks Regards, Jainam Vora

Solr Cloud Security not working for internal authentication

2015-04-01 Thread Swaraj Kumar
I am trying to use Solr Security on Solr 5.0 Cloud. Following process I have used :- 1. Modifying web.xml :- security-constraintweb-resource-collection web-resource-nameAdminAllowedQueries/web-resource-name url-pattern/admin/*/url-pattern /web-resource-collection auth-constraint

Solr HTTP client authentication

2014-11-17 Thread Bai Shen
I am using solrj to connect to my solr server. However I need to authenticate against the server and can not find out how to do so using solrj. Is this possible or do I need to drop solrj? I can manually create an httpclient and set up authentication but then I can't use solrj. Thanks.

Re: Solr HTTP client authentication

2014-11-17 Thread Anurag Sharma
I think Solr encourage SSL than authentication On Mon, Nov 17, 2014 at 6:08 PM, Bai Shen baishen.li...@gmail.com wrote: I am using solrj to connect to my solr server. However I need to authenticate against the server and can not find out how to do so using solrj. Is this possible or do I

RE: Solr HTTP client authentication

2014-11-17 Thread Fuad Efendi
I can manually create an httpclient and set up authentication but then I can't use solrj. Yes; correct; except that you _can_ use solj with this custom HttpClient instance (which will intercept authentication, which will support cookies, SSL or plain HTTP, Keep-Alive, and etc.) You can

Re: Solr HTTP client authentication

2014-11-17 Thread Bai Shen
I had seen where I could pass in an HttpClient to the SolrServer. The problem is that the HttpClient only receives the authentication information through the execute method using the context. See the example located here. https://hc.apache.org/httpcomponents-client-4.3.x/tutorial/html

Re: Solr HTTP client authentication

2014-11-17 Thread Jürgen Wagner (DVT)
with an SSLContext that has the trust store and key store loaded properly? Best, --J. On 17.11.2014 18:41, Bai Shen wrote: I had seen where I could pass in an HttpClient to the SolrServer. The problem is that the HttpClient only receives the authentication information through the execute method using

Solr authentication

2014-11-04 Thread Shay Sofer
Hi, I want that my Solr web connection will be protected by username and password. When someone try to get to - 1.1.1.1:8983/Solr, he can do it only after login (with known users). Is it possible ? Thanks, Shay.

Re: Solr authentication

2014-11-04 Thread Tim Dunphy
Hi Shay, I'm new to using Solr myself. But what I've done to solve this problem is to run Solr via Tomcat. Then I put Apache in front of Tomcat using mod_jk and made Solr accessible via SSL on port 443. I also put basic authentication in front of Apache. That way you have to enter a username

RE: Solr authentication

2014-11-04 Thread Shay Sofer
Thanks for the quick response. 1. I'm using Solr with Jetty. 2. I'm using Java to access Solr, so I need a way to pass / add this authentication as well. -Original Message- From: Tim Dunphy [mailto:bluethu...@gmail.com] Sent: Tuesday, November 04, 2014 3:22 PM

Re: Solr authentication

2014-11-04 Thread Tim Dunphy
you should do is to get Solr to run under Tomcat instead of Jetty. And then front it with apache. It'll be the only way to put authentication on your Solr instance that I know of. It's also pretty easy to do. And I did think that was the only way to secure solr. But after googling this question I do

Re: Solr authentication

2014-11-04 Thread Chris Hostetter
Sofer sha...@checkpoint.com : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org solr-user@lucene.apache.org : Subject: Solr authentication : : Hi, : : I want that my Solr web connection will be protected by username and password. : : When someone try to get to - 1.1.1.1

Re: Solr authentication

2014-11-04 Thread Alexandre Rafalovitch
: Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org solr-user@lucene.apache.org : Subject: Solr authentication : : Hi, : : I want that my Solr web connection will be protected by username and password. : : When someone try to get to - 1.1.1.1:8983/Solr, he can do it only

Map-Reduce Solr Kerberos Authentication

2014-10-27 Thread Adam Higginson
Hi all, As a bit of background, we're trying to run a map-reduce job on a Hadoop cluster (CDH version 4.5.0) which involved reading/writing from Solr during both the Map and Reduce phase. To accomplish this, we are using the Solrj library with version 4.4.0-search-1.3.0. In a separate

Basic Authentication for Admin GUI

2014-06-18 Thread Thomas Fischer
Hello, I'm trying to set up a basic authentication for the admin function in the new solr GUI. For this I have to give the appropriate url-pattern, e.g. url-pattern//url-pattern will match every URL in my solr server. But the GUI now runs all administrative tasks under

Re: HTTP Basic Authentication with solr's jetty

2013-11-01 Thread Fabiano Sidler
Thus wrote Fabiano Sidler: Hi folks! I was asking this question last week already on the jetty mailing list, but haven't got any answer. I'm going to run multiple Solr instances on one server, which arises the need of user authentication in front of Solr. I've done the following steps

HTTP Basic Authentication with solr's jetty

2013-10-29 Thread Fabiano Sidler
Hi folks! I was asking this question last week already on the jetty mailing list, but haven't got any answer. I'm going to run multiple Solr instances on one server, which arises the need of user authentication in front of Solr. I've done the following steps (after a lot of others which didn't

Re: HTTP Basic Authentication with solr's jetty

2013-10-29 Thread Furkan KAMACI
on the jetty mailing list, but haven't got any answer. I'm going to run multiple Solr instances on one server, which arises the need of user authentication in front of Solr. I've done the following steps (after a lot of others which didn't work): === snip === diff -wur solr-4.5.0.orig/example

Re: HTTP Basic Authentication with solr's jetty

2013-10-29 Thread Fabiano Sidler
...@swissonline.ch I'm going to run multiple Solr instances on one server, which arises the need of user authentication in front of Solr. Greetings, Fabiano

DIGEST authentication with HttpSolrServer not working ... PLEASE HELPPPP !!!

2013-07-24 Thread Simer P
Hey Guys, I was wondering if anyone has successfully been able to connect to SOLR 4.3.1 using DIGEST authentication with HttpSolrServer ? *How I generated the password* ./digest.sh -a md5 admin:secure:password admin:secure:password:e430caca84c337d4b820c44c1ebc943a *I can successfully log in via

URLDatasource Authentication

2013-07-23 Thread Kalyan Kuram
Hi I am trying to access xml files which are stored in our cms,how do i pass username/passwd to dih so i can get all xml files its throwing exception java.io.IOException: Server returned HTTP response code: 401 for URL: http://admin:admin...@cms1.zinio.com.com/PATH/articles/100850443.xml Is

implementing identity authentication in SOLR

2013-06-18 Thread Mysurf Mail
Hi, In order to add solr to my prod environmnet I have to implement some security restriction. Is there a way to add user/pass to the requests and to keep them *encrypted*in a file. thanks.

Re: implementing identity authentication in SOLR

2013-06-18 Thread Gora Mohanty
On 18 June 2013 13:10, Mysurf Mail stammail...@gmail.com wrote: Hi, In order to add solr to my prod environmnet I have to implement some security restriction. Is there a way to add user/pass to the requests and to keep them *encrypted*in a file. As mentioned earlier, no there is no built-in

Re: implementing identity authentication in SOLR

2013-06-18 Thread Mysurf Mail
Just to make sure. In my previous question I was referring to the user/pass that queries the db. Now I was referring to the user/pass that i want for the solr http request. Think of it as if my user sends a request where he filter documents created by another user. I want to restrict that. I

Re: Master slave replication with digest authentication

2013-04-17 Thread Shawn Heisey
On 4/17/2013 1:20 AM, Maciej Pestka wrote: Hi, I've configured basic authentication on tomcat my slave solr instance and it works. Any idea how to configure slave to replicate properly with digest authentication? on Solr WIKI I could find only basic authentication example: http

Re: Forwarding authentication credentials in internal node-to-node requests

2013-01-12 Thread Per Steffensen
@lucene.apache.org Subject: Re: Forwarding authentication credentials in internal node-to-node requests Hmmm, it will not work for me. I want the original credential forwarded in the sub-requests. The credentials are mapped to permissions (authorization), and basically I dont want a user to be able

Forwarding authentication credentials in internal node-to-node requests

2013-01-11 Thread Per Steffensen
Hi I read http://wiki.apache.org/solr/SolrSecurity and know a lot about webcontainer authentication and authorization. Im sure I will be able to set it up so that each solr-node is will require HTTP authentication for (selected) incoming requests. But solr-nodes also make requests among

RE: Forwarding authentication credentials in internal node-to-node requests

2013-01-11 Thread Markus Jelsma
the original credentials very easy when inside HttpShardHandlerFactory. Cheers -Original message- From:Per Steffensen st...@designware.dk Sent: Fri 11-Jan-2013 13:07 To: solr-user@lucene.apache.org Subject: Forwarding authentication credentials in internal node-to-node requests Hi

Re: Forwarding authentication credentials in internal node-to-node requests

2013-01-11 Thread Per Steffensen
HttpShardHandlerFactory. Cheers -Original message- From:Per Steffensen st...@designware.dk Sent: Fri 11-Jan-2013 13:07 To: solr-user@lucene.apache.org Subject: Forwarding authentication credentials in internal node-to-node requests Hi I read http://wiki.apache.org/solr/SolrSecurity and know

RE: Forwarding authentication credentials in internal node-to-node requests

2013-01-11 Thread Markus Jelsma
know how to obtain the password. -Original message- From:Per Steffensen st...@designware.dk Sent: Fri 11-Jan-2013 15:28 To: solr-user@lucene.apache.org Subject: Re: Forwarding authentication credentials in internal node-to-node requests Hmmm, it will not work for me. I want

Re: Solr Admin Page authentication

2012-11-24 Thread Marcin Rzewucki
Hi, I added authentication in Jetty and it works fine. However, it's strange that url pattern like /admin/cores* is not working, but /admin/* works correct. Regards. On 17 November 2012 01:10, Marcin Rzewucki mrzewu...@gmail.com wrote: Hi, Yes, I'm trying to add authentication to Jetty

Solr Admin Page authentication

2012-11-16 Thread Marcin Rzewucki
Hi, Does anybody know if SOLR supports Admin Page authentication ? I'm using Jetty from the latest solr package. I added security option to start.ini: OPTIONS=Server,webapp,security and in configuration file I have (according to Jetty documentation

Re: Solr Admin Page authentication

2012-11-16 Thread Michael Long
it somehow On 11/16/2012 10:55 AM, Marcin Rzewucki wrote: Hi, Does anybody know if SOLR supports Admin Page authentication ? I'm using Jetty from the latest solr package. I added security option to start.ini: OPTIONS=Server,webapp,security and in configuration file I have (according to Jetty

Re: Solr Admin Page authentication

2012-11-16 Thread Alexandre Rafalovitch
The UI is under Solr, but actual operations I think are still under /solr/admin and /solr/corename/admin : requestHandler name=/admin/ class=solr.admin.AdminHandlers / I wonder if it is possible to protect those resources and whether the browser will pop-up the authentication on first access

Re: Solr Admin Page authentication

2012-11-16 Thread Stefan Matheis
Alex On Friday, November 16, 2012 at 5:44 PM, Alexandre Rafalovitch wrote: I wonder if it is possible to protect those resources and whether the browser will pop-up the authentication on first access (even if from AJAX call). Or it might be possible to have a fake resource loading from

Re: Solr Admin Page authentication

2012-11-16 Thread Marcin Rzewucki
Hi, Yes, I'm trying to add authentication to Jetty (for solr4), according to this wiki page: http://wiki.apache.org/solr/SolrSecurity Does it work for you ? On 16 November 2012 17:32, Michael Long ml...@bizjournals.com wrote: It doesn't... you would have to do this with jetty or tomcat. But I

Authentication Not working in solrnet getting 401 error

2012-09-12 Thread Suneel Pandey
Hi, I am trying to connect with authenticated solr instance. I have added latest solrnet .dll but getting authentication issue. Please Suggest me where i did wrong. ISolrOperationsSolrProductCorecl oSolrOperations = null; const string core0url = http://localhost:8080/solr/products

Unable to implememnt SolrNet Authentication.

2012-09-12 Thread Suneel Pandey
Hello, I am working on solr authentication with the help of solrnet dll and windsolr container getting some issue. Please suggest me and provide me some link this will be very helpful for me. - Regards, Suneel Pandey Sr. Software Developer -- View this message in context: http://lucene

HTTP Basic Authentication with HttpSolrServer

2012-08-08 Thread vilo
I have protected my solr server with basic authentication. Now I want to connect to it using SOLRJ. CommonsHttpSolrServer is now deprecated, so I try to use HttpSolrServer, but I fail to send credentials. If I put them to the url, I get 401 (http://user:passw...@example.com/solr). I tried

Re: HTTP Basic Authentication with HttpSolrServer

2012-08-08 Thread Paul Libbrecht
Villam, this is a question for httpclient, I think you want to enable preemptive authentication so as to avoid the need to repeat the query after the unauthorized response is sent. http://hc.apache.org/httpclient-3.x/authentication.html#Preemptive_Authentication paul Le 8 août 2012

Re: HTTP Basic Authentication with HttpSolrServer [solved]

2012-08-08 Thread vilo
You're partly right. The solution in the link was for CommonsHttpSolrServer, it does work for HttpSolrServer, but the principle is the same. Actually, I found solution for the new HttpClient here: http://stackoverflow.com/questions/2014700/preemptive-basic-authentication-with-apache-httpclient-4

Authentication Issue in Shards Query

2012-06-20 Thread tosenthu
Hi I have a Solr server with 5 Cores, I have modified the Web.xml of solr.war to have a basic authentication feature enabled for all the web resources. Also I have written my own Login Module to have the login check. Now when I query a single core It asks for the User name and password

Re: authentication for solr admin page?

2012-05-15 Thread findbestopensource
- ok - i was reading about replication here: http://wiki.apache.org/solr/SolrReplication and noticed comments in the solrconfig.xml file related to HTTP Basic Authentication and the usage of the following tags: str name=httpBasicAuthUserusername/str str name

authentication for solr admin page?

2012-03-28 Thread geeky2
thank you, mark http://drupal.org/node/658466 http://wiki.apache.org/solr/SolrSecurity#Write_Your_Own_RequestHandler_or_SearchComponent -- View this message in context: http://lucene.472066.n3.nabble.com/authentication-for-solr-admin-page-tp3865665p3865665.html Sent from the Solr - User

Re: authentication for solr admin page?

2012-03-28 Thread geeky2
update - ok - i was reading about replication here: http://wiki.apache.org/solr/SolrReplication and noticed comments in the solrconfig.xml file related to HTTP Basic Authentication and the usage of the following tags: str name=httpBasicAuthUserusername/str str name

RE: authentication for solr admin page?

2012-03-28 Thread ZHANG Liang F
Hi Mark, As I know you can either limit server access by only allowing certain IPs which is a crude, or as you said using the servlet BASIC authentication. Solr is just a WAR file deployed in a Servlet container, so you can use all of the capabilities of Servlet containers to control access

Re: SolrJ and digest authentication

2011-03-10 Thread Erlend Garåsen
I figured it out. Since this Solr server does not has an SSL interface, I had to change the following line from 443 to 80: AuthScope scope = new AuthScope(host, 80, resin); Erlend On 09.03.11 17.09, Erlend Garåsen wrote: I'm trying to do a search with SolrJ using digest authentication

SolrJ and digest authentication

2011-03-09 Thread Erlend Garåsen
I'm trying to do a search with SolrJ using digest authentication, but I'm getting the following error: org.apache.solr.common.SolrException: Unauthorized I'm setting up SolrJ this way: HttpClient client = new HttpClient(); ListString authPrefs = new ArrayListString(); authPrefs.add

basic authentication for schema.url

2010-11-16 Thread Jayendra Patil
We intend to use schema.url for indexing documents. However, the remote urls are secured and would need basic authentication to be able access the document. The implementation with stream.file would mean to download the files and would cause duplicity, whereas stream.body would have indexing

Re: basic authentication for schema.url

2010-11-16 Thread Jayendra Patil
I meant stream.url Regards, Jayendra On Tue, Nov 16, 2010 at 5:37 PM, Jayendra Patil jayendra.patil@gmail.com wrote: We intend to use schema.url for indexing documents. However, the remote urls are secured and would need basic authentication to be able access the document

Does DataImportHandler support Digest authentication

2010-11-04 Thread jayant
I need to connect to a RETS api through a http url. But the REST service uses digest authentication. Can I use DataImportHandler to pass the credentials for digest authentication? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Does-DataImportHandler-support-Digest

Re: Does DataImportHandler support Digest authentication

2010-11-04 Thread jayant
I mean to say RESTful Apis. -- View this message in context: http://lucene.472066.n3.nabble.com/Does-DataImportHandler-support-Digest-authentication-tp1844497p1844501.html Sent from the Solr - User mailing list archive at Nabble.com.

solr with tomcat basic authentication

2010-07-29 Thread KC Braunschweig
Using the tomcat-users.xml and web.xml changes at the link below, I was able to setup a default ubuntu server tomcat/solr install to require a simple login to access solr (the admin console, updates, etc). http://blog.comtaste.com/2009/02/securing_your_solr_server_on_t.html What I want to do is

Security/authentication strategies

2010-04-29 Thread Andrew McCombe
things like the DIH functionality? HTTP Authentication via tomcat realms or are there any other solutions? Thanks Andrew McCombe iWeb Solutions

Re: Security/authentication strategies

2010-04-29 Thread Peter Sturge
Hi Andrew, Today, authentication is handled by the container (e.g. Tomcat, Jetty etc.). There's a thread I found to be very useful on this topic here: http://www.lucidimagination.com/search/document/d1e338dc452db2e4/how_can_i_protect_the_solr_cores This was for Jetty, but the idea is pretty

Re: Security/authentication strategies

2010-04-29 Thread Andrew McCombe
Thanks for this Peter. I have managed to get this working with Tomcat. Andrew On 29 April 2010 12:11, Peter Sturge peter.stu...@googlemail.com wrote: Hi Andrew, Today, authentication is handled by the container (e.g. Tomcat, Jetty etc.). There's a thread I found to be very useful

HttpDataSource consume REST API with Authentication required

2010-03-04 Thread javaxmlsoapdev
I have to use http://wiki.apache.org/solr/DataImportHandler#Usage_with_XML.2BAC8-HTTP_Datasource HttpDataSource to ask Solr consume my REST service and index data returned from that service. My application/service has authentication/authorization. When Solr invokes this service it MUST have

Re: HttpDataSource consume REST API with Authentication required

2010-03-04 Thread Simon Rosenthal
Solr consume my REST service and index data returned from that service. My application/service has authentication/authorization. When Solr invokes this service it MUST have valid credentials and stuff. How/where do I configure/write authentication part before Solr consumes my REST service? Any

Re: Authentication/Authorization with Master-Slave over HTTP

2009-10-06 Thread Chris Hostetter
, or using a custom ServletFilter, or by runing on special settings in your ServletCOntainer) that can require HTTP Basic Authentication you cna then configure the slave to use an arbitrary usernam/password of your choice (look for the httpBasicAuthUser/httpBasicAuthPassword in the example

Authentication/Authorization with Master-Slave over HTTP

2009-10-01 Thread Fuad Efendi
Is that possible? Implemented? I want to be able to have SOLR Slave instance on publicly available host (accessible via HTTP), and synchronize with Master securely (via HTTP) I had it implicitly with cron jobs running as 'root' user, and Tomcat as 'tomcat'... Slave wasn't able to update index

Re: Solr Authentication Problem

2009-06-23 Thread Allahbaksh Asadullah
/jira/browse/SOLR-1238 there is patch attached to the issue. On Mon, Jun 22, 2009 at 1:40 PM, Allahbaksh Asadullah allahbaks...@gmail.com wrote: Hi All, I am facing getting error when I am using Authentication in Solr. I followed Wiki. The error doesnot appear when I searching. Below

Solr Authentication Problem

2009-06-22 Thread Allahbaksh Asadullah
Hi All, I am facing getting error when I am using Authentication in Solr. I followed Wiki. The error doesnot appear when I searching. Below is the code snippet and the error. Please note I am using Solr 1.4 Development build from SVN. HttpClient client=new HttpClient

Re: Solr Authentication Problem

2009-06-22 Thread Allahbaksh Asadullah
Hi All, I am facing getting error when I am using Authentication in Solr. I followed Wiki. The error doesnot appear when I searching. Below is the code snippet and the error. Please note I am using Solr 1.4 Development build from SVN. HttpClient client=new HttpClient

Re: Authentication Error

2009-04-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
,I have followed the procedure given on this blog to setup the solr Below is my code. I am trying to index the data but I am not able to connect to server and getting authentication error. HttpClient client=new HttpClient(); client.getState().setCredentials(new AuthScope(localhost, 80

Re: Authentication Error

2009-04-17 Thread Allahbaksh Asadullah
to server and getting authentication error. HttpClient client=new HttpClient(); client.getState().setCredentials(new AuthScope(localhost, 80, AuthScope.ANY_SCHEME), new UsernamePasswordCredentials(admin, admin)); Can you please let me know what may

Authentication Error

2009-04-16 Thread Allahbaksh Asadullah
Hi,I have followed the procedure given on this blog to setup the solr Below is my code. I am trying to index the data but I am not able to connect to server and getting authentication error. HttpClient client=new HttpClient(); client.getState().setCredentials(new AuthScope(localhost, 80

Re: Authentication Error

2009-04-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Apr 16, 2009 at 10:34 PM, Allahbaksh Asadullah allahbaks...@gmail.com wrote: Hi,I have followed the procedure given on this blog to setup the solr Below is my code. I am trying to index the data but I am not able to connect to server and getting authentication error. HttpClient

Re: Adding authentication Token to the CommonsHttpSolrServer

2009-03-15 Thread Shalin Shekhar Mangar
On Fri, Mar 13, 2009 at 12:03 AM, Narayanan, Karthikeyan karthikeyan.naraya...@gs.com wrote: Hi, We have installed the Solr in Tomcat server and enabled the security constraint at the Tomcat level.. We require to pass the authentication token(cookie) to the search call that is made

Re: Adding authentication Token to the CommonsHttpSolrServer

2009-03-14 Thread Otis Gospodnetic
, March 12, 2009 2:33:28 PM Subject: Adding authentication Token to the CommonsHttpSolrServer Hi, We have installed the Solr in Tomcat server and enabled the security constraint at the Tomcat level.. We require to pass the authentication token(cookie) to the search call that is made using

Adding authentication Token to the CommonsHttpSolrServer

2009-03-12 Thread Narayanan, Karthikeyan
Hi, We have installed the Solr in Tomcat server and enabled the security constraint at the Tomcat level.. We require to pass the authentication token(cookie) to the search call that is made using CommonsHttpSolrServer. Would like to know how can I add the token to the CommonsHttpSolrServer

Restricting results based on user authentication

2009-01-12 Thread Manupriya
or resource that explains how to use custom request handler with filtering? Thanks, Manu -- View this message in context: http://www.nabble.com/Restricting-results-based-on-user-authentication-tp21411449p21411449.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Restricting results based on user authentication

2009-01-12 Thread Chris Harris
Hi Manu, I haven't made a custom request handler in a while, but I want to clarify that, if you trust your application code, you don't actually need a custom request handler to do this sort of authentication filtering. At indexing time, you can add a role field to each object that you index

Re: Restricting results based on user authentication

2009-01-12 Thread Manupriya
Thanks Chris, I agree with your approach. I also dont want to add anything at the application level. I want authentication to be handled internally at the Solr level itself. Can you please explain me little more about how to add a role field to each object at indexing time? Is there any

<    1   2   3   4   >