Hi devs (et. al),

In trying to address this issue:

https://issues.apache.org/jira/browse/SHIRO-117

I've realized that just having the QueryableSessionDAO wouldnt' be as
useful as it could be.  The SessionManager interface should probably
reflect this added functionality too.  So maybe we should probably
have methods like:

SessionManager.getActiveSessionCount() : long
etc.

where these methods return -1 if that functionality isn't supported by
the underlying SessionDAO.

This is the cleanest thing I can think of - the SessionManager
interface must remain constant regardless of what the SessionDAO can
support.  Some cache APIs have similar methods because they can't
guarantee that the underlying implementations support statistics.

Any thoughts?

- Les

Reply via email to