task #7550
closedMove UserHelper from cdm-vaadin into cdmlib
100%
Description
The AbstractController
already duplicates some of the methods offered by the UserHelper. The UserHelper for now is only available to classes in cdm-vaadin but the cdmlib services and controllers would benefit from access to this spring bean. Wherever a service or controller class needs to access the currently authenticated user the UserHelper would be helpful. This is especially the case when data need to be filtered during the retrieval from the persistent storage.
Updated by Andreas Kohlbecker over 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
close if the changes are not causing any obvious errors
Updated by Andreas Kohlbecker over 5 years ago
The VaadinUserHelper
which was registering itself in the vaadin session was causing problems in the cdm-webapp.war during the initialization of the VaadinUserHelper
where the CdmUserHelper
was required. The solution to this problem was rather time consuming. I replaces the self-registration of ui-scoped Spring beans in the Vaadin session by introducing a UserHelperAccess
bean with a static method to access the UserHelper
implementation.
Updated by Andreas Kohlbecker over 5 years ago
can be closed if the changes are not again causing any obvious errors
Updated by Andreas Kohlbecker over 5 years ago
- Status changed from Resolved to Closed
- % Done changed from 50 to 100
no further problems