Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10269

Use token based authentication instead of basic one

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ADDONS_5.6
    • Component/s: Nuxeo Drive
    • Tags:
    • Backlog priority:
      600

      Description

      Automation calls done by the client need to use the token based authentication (see NXP-10268) instead of the basic authentication.
      This means:

      • Refactoring the bind-server command to get a generated token from the server given the user's credentials (username, password) and device information, and store it in the local db instead of storing the user's credentials.
      • Adding this token in a request header when doing any automation call.

      To get the token in the first place, an HTTP GET request must be sent to a Servlet defined by NXP-10268, bound to basic authentication, that returns the unique token as plain text in the response body.

      This stays statetless, we will have to decide if we want a stateful mode, and in which case how to implement it.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.