Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1166

Add check for import of shiro.ini configuration file

    XMLWordPrintable

Details

    Description

      Current Situation

      • When a file shiro.ini is found from the JETTY_BASE/resources/joc folder with a 0-byte file size then JOC Cockpit tries to import the file into the database. This results in an error. 

      Desired Behavior

      • When a file shiro.ini is found with
        • a 0-byte file size then import of the file is denied and the file is deleted,
        • an unreasonable file size > 1MB then import of the file is denied and the file is deleted.
      • The JOC Cockpit log includes a respective message about deletion of an invalid shiro.ini file. No actions are taken about the file, no backup is created before deleting the file.

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Andreas Püschel Andreas Püschel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: