Remove javadoc warnings for spring-security-config
See gh-18443 for more details.
I would like to work on this issue. I'll fix the javadoc warnings and submit a PR.
After investigating, I found that this module has many interconnected javadoc warnings across multiple large files (HttpSecurity.java, ServerHttpSecurity.java, etc.). The fixes require careful coordination to avoid breaking the class structure.
I'll step back from this issue to allow someone more familiar with the codebase to take it on. Thank you!
I had a look at this and started with some easier changes.
What I'm unsure about is the warning about {@link #featurePolicy(Customizer)} on the comment for FeaturePolicySpec#and.
It think that it actually means HeaderSpec#featurePolicy(Customizer) but that method doesn't exist.
HeaderSpec#featurePolicy(String) exists but it is deprecated itself and says that permissionPolicy is to be used instead.
I'm not sure how to deal with this
The problem with #featurePolicy is also discussed in gh-17492
I fixed the javadoc issue by referencing #featurePolicy(String) for now. When gh-17492 is fixed the javadoc can be updated and must be updated as the javadoc-warnings-error plugin will the fail the build when the old method is removed