Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
For security reasons, Elasticsearch server could be using Basic HTTP Authentication. I have created a patch to add basic http authentication username/password for each server. This functionality already exists in Search API Apache Solr.
Comment | File | Size | Author |
---|---|---|---|
#4 | basic_http_authentication-2338465-3.patch | 6 KB | neeravbm |
#1 | basic_http_authentication-2338465-1.patch | 4.2 KB | neeravbm |
Comments
Comment #1
neeravbm CreditAttribution: neeravbm at Red Crackle for eBay Enterprise commentedHere is the patch.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #4
neeravbm CreditAttribution: neeravbm commentedModifying the patch so that the HTTP Basic Authentication password is hidden and is never visible on the screen or saved in the DB.
Comment #7
Andreas Radloff CreditAttribution: Andreas Radloff commentedDid you get this working? I'm surprised if you did because I noticed that the headers are all wrong, they should be "Authorization:", not "Authentication:" as in this patch. See http://en.wikipedia.org/wiki/Basic_access_authentication
After changing that everything works for me. It also resolved this issue for me: https://www.drupal.org/node/2372963
Comment #8
Andreas Radloff CreditAttribution: Andreas Radloff commentedComment #10
Anonymous (not verified) CreditAttribution: Anonymous commented