Hey all, I would like to retrieve the SlingHttpServletRequest in a filter that has been registered through the HTTP whiteboard instead of registering it with OSGi DS and implementing the Filter service interface. Is this possible?
The code of the registration of the filter: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/fe1d698b3012909597490690b4fbcd054a10f4fa/bundle/src/main/java/com/adobe/acs/commons/http/headers/impl/AbstractDispatcherCacheHeaderFilter.java#L180 <https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/fe1d698b3012909597490690b4fbcd054a10f4fa/bundle/src/main/java/com/adobe/acs/commons/http/headers/impl/AbstractDispatcherCacheHeaderFilter.java#L180> I already tried to set the context to org.apache.sling instead of *, but still when I debug the code, the request you get in the doFilter is the I18n…Request If this is not possible, how can you register a Filter programatically that its inside the SlingHttpServletRequest chain? Greets, Roy
