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

AuthenticationService: remove fields now handled by secrets.json

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      1
    • Sprint:
      2019.9 - IDM, 2019.10 - IDM

      Description

      AuthenticationService's authentication.json file used to configure some keystore related functionality related to authentication (IDM 6.0), which is now handled by secrets.json (IDM 6.5).

      Code such as:

              if (moduleProperties.isDefined("privateKeyPassword")) {
                  // decrypt/de-obfuscate privateKey password
                  moduleProperties.put("privateKeyPassword",
                          JettyPropertyUtil.decryptOrDeobfuscate(moduleProperties.get("privateKeyPassword").asString()));
              }
      
              if (moduleProperties.isDefined("keystorePassword")) {
                  // decrypt/de-obfuscate keystore password
                  moduleProperties.put("keystorePassword",
                          JettyPropertyUtil.decryptOrDeobfuscate(moduleProperties.get("keystorePassword").asString()));
              }
      

      should be removed since those properties are no longer used.

      However, the AuthenticationTest class relies on the old way of configuring things and would need to be refactored.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbranch Jon Branch
                Reporter:
                travis.haagen Travis Haagen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: