lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven White <swhite4...@gmail.com>
Subject Re: Basic auth
Date Wed, 22 Jul 2015 12:53:18 GMT
SOLR-7692 is for ZK (or did I get it wrong?)  In my case, I'm trying what's
documented here:
https://wiki.apache.org/solr/SolrSecurity#Jetty_realm_example and it won't
work (see my earlier email).

Steve

On Wed, Jul 22, 2015 at 8:33 AM, Noble Paul <noble.paul@gmail.com> wrote:

> Solr 5.3 is coming with proper basic auth support
>
>
> https://issues.apache.org/jira/browse/SOLR-7692
>
> On Wed, Jul 22, 2015 at 5:28 PM, Peter Sturge <peter.sturge@gmail.com>
> wrote:
> > if you're using Jetty you can use the standard realms mechanism for Basic
> > Auth, and it works the same on Windows or UNIX. There's plenty of docs on
> > the Jetty site about getting this working, although it does vary somewhat
> > depending on the version of Jetty you're running (N.B. I would suggest
> > using Jetty 9, and not 8, as 8 is missing some key authentication
> classes).
> > If, when you execute a search query to your Solr instance you get a
> > username and password popup, then Jetty's auth is setup. If you don't
> then
> > something's wrong in the Jetty config.
> >
> > it's worth noting that if you're doing distributed searches Basic Auth on
> > its own will not work for you. This is because Solr sends distributed
> > requests to remote instances on behalf of the user, and it has no
> knowledge
> > of the web container's auth mechanics. We got 'round this by customizing
> > Solr to receive credentials and use them for authentication to remote
> > instances - SOLR-1861 is an old implementation for a previous release,
> and
> > there has been some significant refactoring of SearchHandler since then,
> > but the concept works well for distributed queries.
> >
> > Thanks,
> > Peter
> >
> >
> >
> > On Wed, Jul 22, 2015 at 11:18 AM, O. Klein <klein@octoweb.nl> wrote:
> >
> >> Steven White wrote
> >> > Thanks for updating the wiki page.  However, my issue remains, I
> cannot
> >> > get
> >> > Basic auth working.  Has anyone got it working, on Windows?
> >>
> >> Doesn't work for me on Linux either.
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >> http://lucene.472066.n3.nabble.com/Basic-auth-tp4218053p4218519.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message