Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-3945

Policy REST interface returning inconsistent case in error messages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Expired
    • Affects Version/s: 12.0.0
    • Fix Version/s: None
    • Component/s: entitlements, policy, rest
    • Labels:
    • Rank:
      1|hzofkf:

      Description

      At the moment the responses for Unauthorized and Forbidden are

      {
          "code": 401,
          "reason": "Unauthorized",
          "message": "Access Denied"
      }

      and

      {
          "code": 403,
          "reason": "Forbidden",
          "message": "Access denied"
      }

      respectively. The difference in cases for the "Access [D/d]enied" error message seems like we're doing something wrong.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              samdrew Sam Drew
              QA Assignee:
              Sam Drew
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: