-
Notifications
You must be signed in to change notification settings - Fork 6k
Missing reactive DelegatingRequestMatcherHeaderWriter #11073
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
Comments
Hi @Dav1dde. Are you interested in submitting a PR that adds the new implementation? |
Yeah for sure, I can look into it. I pretty much already have an implementation in my project which just needs some cleaning up. I assume the reactive implementation would use a |
You can pretty much follow the implementation of |
@marcusdacoregio After many tries to configure the code style in IntelliJ correctly and failing I finally fixed the import order by hand and submitted the PR ;) I tried to keep it as close as possible to the servlet version, implementation and test |
What were the problems that you faced when working with the codebase? |
I just couldnt get the auto formatting or syntax checking get to work. Another issue was that the I tried to get it to work by importing the eclipse settings, setting up checkstyle, neither worked. Also the gradle format just didnt format the imports properly. |
Unfortunately, there's a limitation with the formatting tool that does not organize the imports properly. Thanks for your feedback, I'll try to make it easier for folks to set up their environment by following the CONTRIBUTING doc. I have created #11157 to track the improvement in the CONTRIBUTING doc. |
Servlet Spring Security has DelegatingRequestMatcherHeaderWriter the reactive world of Spring Security was missing a class to conditionally write headers. Closes gh-11073
Expected Behavior
Non-Reactive Spring Security has a
DelegatingRequestMatcherHeaderWriter
Current Behavior
There is no implementation of
ServerHttpHeadersWriter
which allows the user to write certain headers for only certain paths.Context
I am trying to not have one endpoint set
X-Frame-Options
, which you can do in non-reactive Spring Security using aDelegatingRequestMatcherHeaderWriter
.The text was updated successfully, but these errors were encountered: