You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2009/12/08 17:49:18 UTC

[jira] Created: (SHIRO-117) Add a 'QueryableSessionDAO' interface

Add a 'QueryableSessionDAO' interface
-------------------------------------

                 Key: SHIRO-117
                 URL: https://issues.apache.org/jira/browse/SHIRO-117
             Project: Shiro
          Issue Type: New Feature
          Components: Session Management
    Affects Versions: 1.0
            Reporter: Les Hazlewood
             Fix For: 1.0


In many enterprise apps, it is desirable to obtain a Session instance or information about many sessions based on criteria - such as the ability to obtain a session by the principals (e.g. user id or username), find out if there is more than one active session for a user (concurrent session control) or to find out the total number of active sessions in use.

This information is very valuable for system statistics and for advanced features such as concurrent session access control.  If a SessionDAO implements this interface, it would be nice to leverage these additional capabilities directly in the framework.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHIRO-117) Add a 'QueryableSessionDAO' interface

Posted by "Kalle Korhonen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833868#action_12833868 ] 

Kalle Korhonen commented on SHIRO-117:
--------------------------------------

Related discussion thread at http://www.mail-archive.com/shiro-dev@incubator.apache.org/msg00599.html

> Add a 'QueryableSessionDAO' interface
> -------------------------------------
>
>                 Key: SHIRO-117
>                 URL: https://issues.apache.org/jira/browse/SHIRO-117
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Session Management
>    Affects Versions: 1.0.0
>            Reporter: Les Hazlewood
>             Fix For: 1.0.0
>
>
> In many enterprise apps, it is desirable to obtain a Session instance or information about many sessions based on criteria - such as the ability to obtain a session by the principals (e.g. user id or username), find out if there is more than one active session for a user (concurrent session control) or to find out the total number of active sessions in use.
> This information is very valuable for system statistics and for advanced features such as concurrent session access control.  If a SessionDAO implements this interface, it would be nice to leverage these additional capabilities directly in the framework.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHIRO-117) Add a 'QueryableSessionDAO' interface

Posted by "Michael Kogan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916987#action_12916987 ] 

Michael Kogan commented on SHIRO-117:
-------------------------------------

A similar (or same API) depending on implementation would be valuable that would allow session invalidation.

> Add a 'QueryableSessionDAO' interface
> -------------------------------------
>
>                 Key: SHIRO-117
>                 URL: https://issues.apache.org/jira/browse/SHIRO-117
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Session Management
>    Affects Versions: 1.0.0
>            Reporter: Les Hazlewood
>             Fix For: 1.1.0
>
>
> In many enterprise apps, it is desirable to obtain a Session instance or information about many sessions based on criteria - such as the ability to obtain a session by the principals (e.g. user id or username), find out if there is more than one active session for a user (concurrent session control) or to find out the total number of active sessions in use.
> This information is very valuable for system statistics and for advanced features such as concurrent session access control.  If a SessionDAO implements this interface, it would be nice to leverage these additional capabilities directly in the framework.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHIRO-117) Add a 'QueryableSessionDAO' interface

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood updated SHIRO-117:
--------------------------------

    Fix Version/s: 1.1.0
                       (was: 1.0.0)

Moving to 1.1 as it is not on the critical path for 1.0

> Add a 'QueryableSessionDAO' interface
> -------------------------------------
>
>                 Key: SHIRO-117
>                 URL: https://issues.apache.org/jira/browse/SHIRO-117
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Session Management
>    Affects Versions: 1.0.0
>            Reporter: Les Hazlewood
>             Fix For: 1.1.0
>
>
> In many enterprise apps, it is desirable to obtain a Session instance or information about many sessions based on criteria - such as the ability to obtain a session by the principals (e.g. user id or username), find out if there is more than one active session for a user (concurrent session control) or to find out the total number of active sessions in use.
> This information is very valuable for system statistics and for advanced features such as concurrent session access control.  If a SessionDAO implements this interface, it would be nice to leverage these additional capabilities directly in the framework.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.