Add lambda DSL method for featurePolicy
Even though Permission-Policy is targeted to replace Feature-Policy, browsers still largely support Feature-Policy, not Permission-Policy. Further , Permission-Policy is still in draft.
As such, we should add the lambda DSL for featurePolicy to HeadersConfigurer and to ServerHttpSecurity. We should also consider removing deprecation markers for Feature-Policy from the Servlet, Reactive, and Kotlin DSLs.
Related #9262
Hi, @jzheaux! You marked this as ideal-for-contribution, so I guess I can try to solve this issue?
For sure, @therepanic, thanks for volunteering!
@jzheaux Totally agree — especially given the case you presented and the fact that Permission-Policy is still an experimental technology, the deprecation of Feature-Policy feels premature.
@therepanic Have you had a chance to start on this? If not, I’d be happy to work on adding a DSL for Feature-Policy.
Hi, @DeepDhamala. I already working on this, thanks