Splash › Forums › Rewrite Users › OCP and Spring Security › Reply To: OCP and Spring Security
I don’t know much about this Spring configuration stuff, but Rewrite ships with a web-fragment.xml file, which automatically adds the filter to the filter chains.
In a standard Servlet environment you could use in web.xml to define the filter ordering.
In the Spring world, you may just have to add the RewriteFilter in getServletFilters()? But please note that Rewrite als uses some listeners. See the web-fragment.xml for details.
If you find our tools useful, please consider making a donation to help us stay online and building software!