Is it possible to mention both form-based and basic authentication in Spring security using namespace configuration without overriding other ? So that the appliciation could
The response by @grimesjm is right. However, if you are using Spring 3.x you have to adapt the class names to:
And
... your intercept-url here ....
I do not know whether placing the filter before SECURITY_CONTEXT_FILTER is the best option or not.
SECURITY_CONTEXT_FILTER