Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-1418

PDP APIs - make ClientAuth optional

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • None
    • None
    • None

      Provide a way to invoke PDP API's only with "Authorization" header and be backward compatible with using both "clientAuth" and "Authorization" headers.
      Log the request JSON for the PDP API's and the user performing changes.

      Existing:

      ClientAuth: <mechid:password>
      Authorization: <testpdp:alpha123>

      New:[Also supports Existing method]

      Authorization: <mechid:password>

      Note: Existing code from ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/config/PDPApiAuth.java have been moved to
      ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/restauth/AuthenticationService.java

            pa834y pa834y
            bobbymander bobbymander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: