Take a look at the SessionManager class As far as displaying a message to the user about the old session, that could get a little tricky. You would need to store old sessions around, and treat them different then an invalid session id.
You may want to display a message on login, that other sessions from this user are invalidated. On Sun, Mar 23, 2014 at 9:34 AM, David Hoffer <[email protected]> wrote: > Does Shiro support a mechanism where I can limit the number of logins per > user to 1 and the last login wins? (Other sessions would be invalidated > and message displayed if they tried to use old sessions.) > > Thanks, > -Dave >
