shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-330) Refactor Cookie / Simple Cookie & Add Encrypted Cookie
Date Thu, 07 Jul 2016 18:13:11 GMT

    [ https://issues.apache.org/jira/browse/SHIRO-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366530#comment-15366530
] 

ASF GitHub Bot commented on SHIRO-330:
--------------------------------------

Github user bdemers closed the pull request at:

    https://github.com/apache/shiro/pull/28


> Refactor Cookie / Simple Cookie & Add Encrypted Cookie 
> -------------------------------------------------------
>
>                 Key: SHIRO-330
>                 URL: https://issues.apache.org/jira/browse/SHIRO-330
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Web
>    Affects Versions: 1.2.0
>            Reporter: Allan Ditzel
>            Priority: Minor
>              Labels: patch, patch-with-test
>             Fix For: 1.3.0
>
>         Attachments: encrypted_cookie1.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message