Hi,
we’ve found another integration issue. With 1.8.2 version we’re finally able to create a CustomInputHandler that works with our backend. But we found another issue.
AnnotationHandler in your sample is creates once per web application. That causes many issues, as we need to maintain a different credentials per user, that means, we need to store the AnnotationHandler instance per HttpSession.
We modified HomeController sample, and added HttpSession as a parameter to the annotationHandler() method. Unfortunately just after that I realized that some of the methods doesn’t have HttpServletRequest as a parameter and thus I cannot grab the HttpSession from it to get the appropriate AnnotationHandler instance.
So my question is how can I achieve that? Can I e.g. annotate the Controller with @Scope(“session”) or will it cause any other issues?
Can you add HttpServletRequest as a parameter to all the Viewer and Annotation class methods?
Right now I can access only HttpServletResponse in all methods.
Thank you,
Mariusz