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

PDP-X getConfig API Authentication error

    XMLWordPrintable

    Details

      Description

      jh1730@newton:~$ curl -vvv -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -d '{
      "policyName": ".vFirewall"
      }' 'http://xxxx:8081/pdp/api/getConfig'
      Note: Unnecessary use of -X or --request, POST is already inferred.

      • Trying xxxx...
        > POST http://xxxxx:8081/pdp/api/getConfig HTTP/1.1
        > Host: xxxxx:8081
        > User-Agent: curl/7.47.0
        > Proxy-Connection: Keep-Alive
        > Content-Type: application/json
        > Accept: application/json
        > ClientAuth: cHl0aG9uOnRlc3Q=
        > Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==
        > Environment: TEST
        > Content-Length: 32
        >
      • upload completely sent off: 32 out of 32 bytes
        < HTTP/1.1 401 Unauthorized
        < Server: Apache-Coyote/1.1
        < Content-Length: 0
        < Date: Wed, 07 Jun 2017 21:00:34 GMT
        < Cache-Control: proxy-revalidate
        < Proxy-Connection: Keep-Alive
        < Connection: Keep-Alive
        < Proxy-support: Session-based-authentication
        <

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jhh Jorge Hernandez
            Reporter:
            jhh Jorge Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: