Move UserHelper from cdm-vaadin into cdmlib
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 4 years ago
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