Dandelion and Shiro context null. NullPointerException
I'm having a serious problem with the migration from 0.9.3 version to 1.1.0.
My application is using Shiro for security and the problem is that the between the "DandelionFilter" to the call of "DandelionServlet" the "HttpRequestRequest" object changes and the context is lost.
The problem that in the following line of the "DandelionFilter" we set an attribute to the request:
- request.setAttribute(WebConstants.DANDELION_CONTEXT_ATTRIBUTE, context);
But the request is intercepted and changed. Causing the problem in the "DandelionServlet":
- Context context = (Context) request.getAttribute(WebConstants.DANDELION_CONTEXT_ATTRIBUTE); ------> The "context" is NULL.
After several hours I cannot avoid the lost of the "HttpRequestRequest" and I need your support to solve this issue.