shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sreenivas Harshith (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SHIRO-604) securityManager.sessionManager.globalSessionTimeout value set in shiro.ini is ignored
Date Thu, 08 Dec 2016 19:05:58 GMT

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

sreenivas Harshith edited comment on SHIRO-604 at 12/8/16 7:05 PM:
-------------------------------------------------------------------

I debugged through the source and found that when SimpleSession is created its defaulted in
its constructor which is DEFAULT_GLOBAL_SESSION_TIMEOUT.

    public SimpleSession() {
        this.timeout = DefaultSessionManager.DEFAULT_GLOBAL_SESSION_TIMEOUT; //TODO - remove
concrete reference to DefaultSessionManager
        this.startTimestamp = new Date();
        this.lastAccessTime = this.startTimestamp;
    }



was (Author: sreenivash09):
I debugged through the source and found that when SimpleSession is created its defaulted in
its constructor
    public SimpleSession() {
        this.timeout = DefaultSessionManager.DEFAULT_GLOBAL_SESSION_TIMEOUT; //TODO - remove
concrete reference to DefaultSessionManager
        this.startTimestamp = new Date();
        this.lastAccessTime = this.startTimestamp;
    }


> securityManager.sessionManager.globalSessionTimeout value set in shiro.ini is ignored
> -------------------------------------------------------------------------------------
>
>                 Key: SHIRO-604
>                 URL: https://issues.apache.org/jira/browse/SHIRO-604
>             Project: Shiro
>          Issue Type: Bug
>          Components: Session Management
>    Affects Versions: 1.3.2
>            Reporter: sreenivas Harshith
>              Labels: customSessionDAO, customSessionvalue, globalSessionTimeout, session
>
> securityManager.sessionManager.globalSessionTimeout value is ignored when using the native
shiro DefaultWebSessionManager and custom SessionDAO. Its defaulted to 1800000  



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

Mime
View raw message