-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set default filters via configuration properties #48
Comments
This worked for me. Maybe a project that recreates the problem?
|
Yeah, did a little more testing and it looks like you're correct. What got me started down this thread was being unable to figure out why default filters weren't being applied to things from a Given:
Why is the filter not being applied on every request? sample project here |
That is the purpose. |
In M1 it does not appear to be possible to add a default filter via configuration properties.
Given the following configuration:
with a breakpoint on
GatewayProperties::getDefaultFilters
I always end up with a singleRemoveNonProxyHeadersWebFilterFactory
filter which is added viaGatewayProperties::loadDefaults
.I can verify that
filter1
andfilter2
are being created by setting breakpoints in the constructor.The text was updated successfully, but these errors were encountered: