Aviod one user login in multiple browsers
Hi, I have the requirement to avoid multiple browser login by single user. i.e at a time a user should login in only one browser, not in multiple browsers. Can any one tell me how to do that?
I was thinking about doing a HttpSessionListener but apparenty, there is a better way according to this article: https://goo.gl/j7vnXQ.
It's a pure servlet session issue so don't hesitate to create your own and include this bean in your nuxeo package, it would be a good start!
Otherwise if its failing you can use the HttpSessionListener to give another try. In order to install one, its again a pure java servlet concept but simpler with the nuxeo fragment deployment:
- contribution in your package: https://github.com/nuxeo/nuxeo/blob/master/nuxeo-services/nuxeo-platform-management/src/main/resources/OSGI-INF/deployment-fragment.xml