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

IP Policy Condition does not accept ipVersion property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 12.0.0
    • Fix Version/s: None
    • Component/s: policy
    • Labels:
    • Environment:
      OpenAM 12.0.0-SNAPSHOT Build 11281 (2014-October-31 02:37)
    • Rank:
      1|hzotun:

      Description

      curl --request POST --header "iPlanetDirectoryPro: AQIC5wM2LY4SfcziGlC0TEjyFIuDCWGKWubOoHYTwljauWo.*AAJTSQACMDEAAlNLABQtODg4MDQ4OTE1ODUxODM4NjIwMg..*" --header "Content-Type: application/json" --data '{ "resources": ["http://example.com:80/ip.html"], "name": "ipPolicyV6", "subject": {"type": "AuthenticatedUsers"}, "active": true, "actionValues": {"GET": true, "POST": false}, "condition" : {"type" : "IP","ipVersion": "IPv6", "endIp": "fe80::3e15:c2ff:fec7:5030", "startIp": "fe80::3e15:c2ff:fec7:5028"}, "applicationName": "application"}' "http://amrwalktest.internal.forgerock.com:18080/openam/json/TestRealm/policies/?_action=create&_prettyPrint=true"
      {
        "code" : 400,
        "reason" : "Bad Request",
        "message" : "JSON string is invalid."
      }
      

      Does not except the ipVersion property type.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              amrwalk Alex Walker [X] (Inactive)
              QA Assignee:
              Alex Walker [X] Alex Walker [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: