Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-14100

Nested property not encrypted

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0, 6.5.0.1, 6.5.0.2
    • Fix Version/s: None
    • Component/s: _Schema
    • Support Ticket IDs:

      Description

      Reported on IDM 6.5.0.1, also reproducible on 6.5.0.2 and 7.0.0-SNAPSHOT (build: 20191107005738, revision: 23b0251).

      • Configure managed object, adding a property "attr1" of type "object".
      • Under "attr1", add a property "attr1string" of type "string", encrypted.
      • Create a managed object. The attr1string property-value is not encrypted.

      From managed.json:

       "attr1" : {
          "title" : "attr1",
          "type" : "object",
          ...
          "properties" : {
             "attr2string" : {
                 "title" : "attr1string",
                 "type" : "string",
                 ...
                 "encryption" : {
                     "purpose" : "idm.password.encryption"
                  }
             }
       },

      The managed user:

      $ curl -u openidm-admin:openidm-admin "http://localhost:8080/openidm/managed/user?_queryFilter=true&_prettyPrint=true"
      {
      ...
          "attr1" : {
             "attr1string" : "string1"
          },

        Attachments

          Activity

            People

            Assignee:
            brmiller Brendan Miller
            Reporter:
            wei-yee.lum Wei-Yee Lum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: