Return-Path: X-Original-To: apmail-shiro-dev-archive@www.apache.org Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94E837590 for ; Wed, 14 Sep 2011 18:01:34 +0000 (UTC) Received: (qmail 70102 invoked by uid 500); 14 Sep 2011 18:01:34 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 70088 invoked by uid 500); 14 Sep 2011 18:01:34 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 70077 invoked by uid 99); 14 Sep 2011 18:01:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 18:01:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 18:01:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ECF259726F for ; Wed, 14 Sep 2011 18:01:12 +0000 (UTC) Date: Wed, 14 Sep 2011 18:01:12 +0000 (UTC) From: "Les Hazlewood (JIRA)" To: dev@shiro.apache.org Message-ID: <159299618.27616.1316023272967.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SHIRO-60) Standalone environment - automatically create new session after expiration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SHIRO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Les Hazlewood updated SHIRO-60: ------------------------------- Fix Version/s: (was: 1.2.0) 1.3.0 > Standalone environment - automatically create new session after expiration > -------------------------------------------------------------------------- > > Key: SHIRO-60 > URL: https://issues.apache.org/jira/browse/SHIRO-60 > Project: Shiro > Issue Type: Improvement > Components: Session Management > Affects Versions: 1.0.0 > Reporter: Les Hazlewood > Assignee: Les Hazlewood > Fix For: 1.3.0 > > > Per this thread: http://markmail.org/thread/4tl42fnjdaztpbso > In a non-web environment, it would be nice if the SecurityManager would automatically/transparently create a new Session for a subject if their existing session expires. The web environment already works this way. > It would probably be best if there were a securityManager configuration attribute, say 'createNewSessionAfterExpiration' (or something similar) that would enable this feature. > I'm thinking it should be enabled by default, as I assume the large majority of application developers wouldn't want to catch InvalidSessionException in their code. It could be disabled by using the aforementioned config attribute. > The DefaultWebSecurityManager could just piggyback the same logic, simplifying its code (and its internal delegate WebSessionManager). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira