-
Story
-
Resolution: Done
-
Medium
-
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