I thanks all people that replied to me. My idea was to not replicate informations but I suppose the only way is to keep my map/list of users with their session info and do not use shiro session at all.
Thanks, Mario 2015-11-11 8:42 GMT+01:00 scSynergy [via Shiro User] < [email protected]>: > What do you plan to use as a backend for authentication and authorization > - be it with Shiro or without? I am asking this because if you have your > user and role information stored in some data store (database, ldap ...) > anyhow then all you need to do is keep track of who is currently logged in > in an application-wide singleton list or map. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://shiro-user.582556.n2.nabble.com/newbie-Search-for-users-or-roles-tp7580838p7580840.html > To unsubscribe from [newbie] Search for users or roles, click here > <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580838&code=bWdpYW1tYXJjb0BnbWFpbC5jb218NzU4MDgzOHwtMTIyMTI5ODI4> > . > 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/newbie-Search-for-users-or-roles-tp7580838p7580841.html Sent from the Shiro User mailing list archive at Nabble.com.
