spring security filter-chain regex pattern
- by lewap
In my application which uses spring security I want to define two different areas both using their own spring security filter-chain. My question is: is it possible to define two regex expressions as follows:
every path starting with /foobar/*
every other path not starting with /foobar
The important part here is that the second path should also match if somewhere within it, but not in the beginning, it cotains the /foobar/ string.
Thanks