Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

217
Views
Apache Solr está bloqueando la API después de agregar security.json. ¿Cómo desbloquear llamadas API?

Creé el archivo security.json para agregar autenticación y autorización básicas para mi aplicación, que se desarrolla en el nodo js en el backend y reacciona js en el front-end. Estoy usando solr 8.8.0.

Aquí está el código security.json

 { "authentication":{ "blockUnknown": true, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c=" } }, "authorization":{ "class":"solr.RuleBasedAuthorizationPlugin", "permissions":[{"name":"security-edit", "role":"admin"}], "user-role":{"solr":"admin"} } }

El propósito principal aquí es habilitar la autenticación cuando se presiona la siguiente URL http://localhost:8983/solr, se debe solicitar el primer nombre de usuario y la contraseña. ingrese la descripción de la imagen aquí La secuencia de comandos anterior solicita el nombre de usuario y la contraseña, pero bloquea las llamadas a la API que utilizan solr.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!