Improvements to contrib.sessions #78

Closed
wants to merge 7 commits into
from
Commits on May 28, 2012
  1. @crodjer

    Add myself to authors

    crodjer committed May 18, 2012
    Signed-off-by: Rohan Jain <crodjer@gmail.com>
  2. @crodjer

    Check session expiry on the serve side

    crodjer committed May 18, 2012
    Use timed signer to check for expiration of session data. This is to
    fix ticket #18194. The sessions based on file backend otherwise do not
    expire, as far as the server is concerned.
    
    Signed-off-by: Rohan Jain <crodjer@gmail.com>
Commits on Jun 4, 2012
  1. @crodjer

    Extend session key char set

    crodjer committed May 18, 2012
    Signed-off-by: Rohan Jain <crodjer@gmail.com>
  2. @crodjer

    Session cleanup management command improvements

    crodjer committed May 18, 2012
    Cleanup logic now lies in the backend. It will be executed based on
    the currently set backend.
    Adds a cleanup functionality for the file backend and db backend.
    
    Signed-off-by: Rohan Jain <crodjer@gmail.com>
  3. @crodjer

    Remove unused imports

    crodjer committed May 18, 2012
    Signed-off-by: Rohan Jain <crodjer@gmail.com>
  4. @crodjer

    Compatibility decoding of existing sessions

    crodjer committed May 22, 2012
    The existing sessions, which were not signed with the signing
    framework is handled with the older decoding method.
    Mark the session as modified so that it uses the new encoding method
    for storing the data.
    
    Signed-off-by: Rohan Jain <crodjer@gmail.com>
  5. @crodjer

    Make compatibility with older mechanism optional

    crodjer committed May 25, 2012
    Don't enable compatibility with older mechanism by default as it
    compromises with the security benefits of introducing signing
    framework.
    
    Signed-off-by: Rohan Jain <crodjer@gmail.com>