Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4603

validate REST call returning message keys

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8
    • Component/s: None
    • Subscription:
      Active subscription

      Description

      Jake Morris recently found that the response from validate Rest call is returning message keys not actual messages when providing a value that does not meet the provided policy.
      How do we access the messages?

      curl command
      curl --user administrator:5ecr3t -H "Content-Type: application/xml" -X POST http://mpdev.server.ca:8080/midpoint/ws/rest/users/00000000-0000-0000-0000-000000000002/validate -v -d @/tmp/validate-payload.xml

      See attached for payload and response. Thanks Katka.

        Attachments

          Activity

            People

            Assignee:
            katkav Katka Bolemant
            Reporter:
            adavenp4 Adam Davenport
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: