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

Refactor Cookie / Simple Cookie & Add Encrypted Cookie

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: Web

      Description

      The current Cookie/SimpleCookie mechanism blends usage and creational concerns, i.e. the cookie both holds state and is a factory, acting as a template to create new cookie instances. These concerns should be separated.

      In addition, it would be nice to have an encrypted cookie mechanism. Attached there is a patch for an initial implementation of an encrypted cookie based on 1.2.0 code. It's been added to capture the intent behind the cookie and to quickly patch the code base with this functionality before refactoring in a future version.

        Attachments

        1. encrypted_cookie1.patch
          8 kB
          Allan Ditzel

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aditzel Allan Ditzel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: