st-tu-dresden / salespoint

A framework to develop point of sales applications, powered by Java and Spring Boot
https://tu-dresden.de/ing/informatik/smt/st/forschung/forschungsprojekte/salespoint
Apache License 2.0
178 stars 49 forks source link

Allow to obtain `UserAccount` instances for all currently logged-in users #423

Closed odrotbohm closed 1 year ago

odrotbohm commented 1 year ago

Apparently, there are labs that require the lookup of all users currently logged into the system. Implementing that functionality needs profound knowledge about Spring Security internals (such as SessionRegistry) and the way Salespoint interacts with it (UserAccountDetails). It would be nice if Salespoint's AuthenticationManagement exposed dedicated functionality to obtain these UserAccount instances directly.