Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-197

Ini and Ini.Section should retain key-value definition order

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: Configuration
    • Labels:
      None

      Description

      Currently the Ini class and it's nested Section class use java.util.Properties for parsing section content. The Properties class does not retain definition order. This logic should be refactored to use a LinkedHashMap<String,String> instead to guarantee correct ordering in any INI [urls] sections.

      Note that fixing this issue should fix SHIRO-184.

        Attachments

        1. SHIRO-197.patch
          12 kB
          Les Hazlewood

          Issue Links

            Activity

              People

              • Assignee:
                lhazlewood Les Hazlewood
                Reporter:
                lhazlewood Les Hazlewood
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: