Bug #10135

Restore API basic HTTP authentication

Added by Jesús García Crespo almost 6 years ago. Updated over 5 years ago.

Status:VerifiedStart date:07/17/2016
Priority:HighDue date:
Assignee:Dan Gillean% Done:

0%

Category:Web service API
Target version:Release 2.3.0
Google Code Legacy ID: Tested version:2.3
Sponsored:No Requires documentation:

Description

We replaced basic HTTP authentication with token-based authentication in #9491 (pull request). We realized that deprecating the old system breaks compatibility with some clients and it has to be restored. We plan to support both authentication systems.

# Using HTTP basic authentication
curl -u demo@example.com:demo 127.0.0.1/api

# Using token authentication
curl -H "REST-API-Key: qwerty" 127.0.0.1/api

Related issues

Related to Access to Memory (AtoM) - Task #9491: In REST API plugin, replace user/password authentication ... Verified 02/25/2016
Related to Access to Memory (AtoM) - Feature #9238: Create information object read and browse endpoints in ar... Verified 11/23/2015

History

#1 Updated by Jesús García Crespo almost 6 years ago

  • Related to Bug #9973: Session cookie is defined twice in HTTP API added

#2 Updated by Jesús García Crespo almost 6 years ago

  • Related to Task #9491: In REST API plugin, replace user/password authentication with token authentication added

#3 Updated by Jesús García Crespo almost 6 years ago

  • Related to deleted (Bug #9973: Session cookie is defined twice in HTTP API)

#4 Updated by Jesús García Crespo almost 6 years ago

  • Status changed from New to Code Review
  • Assignee changed from Jesús García Crespo to José Raddaoui Marín

#6 Updated by Jesús García Crespo almost 6 years ago

  • Assignee changed from José Raddaoui Marín to Mike Gale

#7 Updated by Jesús García Crespo almost 6 years ago

  • Description updated (diff)

#8 Updated by Mike Gale almost 6 years ago

  • Assignee changed from Mike Gale to Jesús García Crespo

OK

#9 Updated by Jesús García Crespo almost 6 years ago

  • Status changed from Code Review to QA/Review
  • Assignee changed from Jesús García Crespo to Dan Gillean

#10 Updated by Dan Gillean almost 6 years ago

  • Related to Feature #9238: Create information object read and browse endpoints in arRestApiPlugin added

#11 Updated by Dan Gillean almost 6 years ago

  • Status changed from QA/Review to Verified

Looks good! Tried both versions with several queries, and via the browser for the HTTP auth as well.

#12 Updated by Dan Gillean over 5 years ago

  • Requires documentation deleted (Yes)

Also available in: Atom PDF