Les, Thank you for the reply.
I was supposing this as the last solution, I was expecting, the shiro controls the maximum logins of a user as these are handled in the Spring Security. Thanks, -Bunty On Sun, Sep 29, 2013 at 12:31 AM, Les Hazlewood-2 [via Shiro User] < [email protected]> wrote: > This is not built in to Shiro at the moment. Your best bet is to use > Shiro's native session management and use a queryable session data store. > Then, when a user request comes in, you can query the session data store > and see if they have any existing sessions. If so, deny the request. > > HTH, > > -- > Les Hazlewood | @lhazlewood > CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282 > > > On Fri, Sep 27, 2013 at 3:09 AM, gurjant singh <[hidden > email]<http://user/SendEmail.jtp?type=node&node=7579199&i=0> > > wrote: > >> >> Hi, >> >> >> I have to allow a user to login only form on device at time and has to >>> expire or invalidate the other sessions of that user if he has logged in >>> from other devices/browsers. How can we do this in apache shiro. Please >>> help me. >>> >>> Thanks, >>> >>> -Bunty >>> >>> >>> >> >> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://shiro-user.582556.n2.nabble.com/Re-Control-Prevent-concurrent-user-logins-from-different-browsers-devices-tp7579195p7579199.html > To unsubscribe from Re: Control/Prevent concurrent user logins from > different browsers/devices, click > here<http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7579195&code=Z3VyamFudHNpbmdoNzNAZ21haWwuY29tfDc1NzkxOTV8MTcyNzE5NzExMQ==> > . > NAML<http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://shiro-user.582556.n2.nabble.com/Re-Control-Prevent-concurrent-user-logins-from-different-browsers-devices-tp7579195p7579206.html Sent from the Shiro User mailing list archive at Nabble.com.
