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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Configuration
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: