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

LEAuthLevel uses a authlevel+1 number convention

    XMLWordPrintable

    Details

    • Rank:
      1|hzm05b:
    • Sprint:
      Sprint 70 - Team Newton, Sprint 71 - Team Tesla

      Description

      When specifying the AuthLevel to be used in LEAuthLevel to specify AuthLevel 5 you must use a value of 6. This numbering method does not match with the AuthLevel policy or the values in the console.

      Change that there is a direct relation between the value entered and the actual value.

      entered: 5 > actual: 5

      --------------------------------------------
      Request for LEAuthLevel Create (Set DataStore Authentication Level to 5)
      --------------------------------------------
      curl -s --request PUT --header "iPlanetDirectoryPro: AQIC5wM2LY4Sfcwlwg5xo8wVOn6-gl7Uu-UhCzbpfbeQh9U.*AAJTSQACMDEAAlNLABQtNDIxMDIzNDA0NTE2MzM5ODcxMA..*" --header "If-None-Match: *" --header "Content-Type: application/json"
      --data "
      {
          "actionValues": {
              "GET": true
          },
          "active": true,
          "condition": {
              "authLevel": 6,
              "type": "LEAuthLevel"
          },
          "description": "Test Policy",
          "resources": [
              "http://www.example.com"
          ],
          "subject": {
              "type": "AuthenticatedUsers"
          }
      }
      "
      http://openam.local.com:8080/openam/json/policies/TestPolicy
      

        Attachments

          Activity

            People

            Assignee:
            neil.madden Neil Madden
            Reporter:
            amrwalk Alex Walker [X] (Inactive)
            QA Assignee:
            Alex Walker [X] Alex Walker [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: