[ 
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.

Reply via email to