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

attempting to add application to realm called policies causes a "resource instance cannot be created" error to occur

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 12.0.0
    • Fix Version/s: None
    • Component/s: policy editor
    • Labels:
    • Environment:
      OpenAM 12.0.0-SNAPSHOT Build 11325 (2014-November-03 09:36)
      tomcat 6
      java 1.6

      Description

      Attempting to create a New Application fails with {"code":400,"reason":"Bad Request","message":"The resource instance cannot be created"}

      Steps:
      1. as amAdmin, create new sub-realm "policies"
      2. select sub-realm and click on Policies tab
      3. on Applications page clcik Add new button
      4. enter name = example, click Next button
      5. for resources add http://example.com:80/anim.html and click Next button
      6. click Finish button

      UI displays no errors.

      Network trace shows:
      Request URL:http://gibson.internal.forgerock.com:18080/openam/json/policies/applications/?_action=create
      Request Method:POST
      Status Code:400 Bad Request
      Request Payload:

      {"applicationType":"iPlanetAMWebAgentService","realm":"/policies","conditions":["AMIdentityMembership","AND","AuthLevel","AuthScheme","AuthenticateToRealm","AuthenticateToService","IP","LDAPFilter","LEAuthLevel","NOT","OAuth2Scope","OR","Policy","ResourceEnvIP","Session","SessionProperty","SimpleTime"],"subjects":["AND","AuthenticatedUsers","Identity","JwtClaim","NONE","NOT","OR","Policy"],"entitlementCombiner":"DenyOverride","resources":["http://example.com:80/amim.html"],"name":"example","description":""}

      Response
      {"code":400,"reason":"Bad Request","message":"The resource instance cannot be created"}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                markg Mark Gibson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: