SecurityContextBuilder.forPaths Deprecation / Migrating to SecurityContextBuilder.operationSelector
See original GitHub issueUsing: 3.0.0
Question:
Does documentation exist for how to use SecurityContextBuilder.operationSelector
instead of SecurityContextBuilder.forPaths
?
I see that SecurityContextBuilder.forPaths
is deprecated since this 3.0.0 version.
But the documentation/examples I’ve found still use SecurityContextBuilder.forPaths
so I’m not sure what the expected replacement logic should look like.
For instance
- https://springfox.github.io/springfox/docs/current/#springfox-spring-mvc-and-spring-boot
- https://github.com/springfox/springfox-demos/blob/0c31da356e7463cd405652c7bde25c100a7efbf6/boot-swagger/src/main/java/springfoxdemo/boot/swagger/Application.java
Thanks for any pointers you can provide 😃
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:5
Top Results From Across the Web
SecurityContextBuilder
@Deprecated public SecurityContextBuilder forPaths(java.util.function.Predicate<java.lang.String> selector). Deprecated. Use operationSelector instead.
Read more >SecurityContextBuilder.forPaths - Tabnine
Best Java code snippets using springfox.documentation.spi.service.contexts.SecurityContextBuilder.forPaths (Showing top 16 results out of 315).
Read more >springfox.documentation.spi.service.contexts.SecurityContext
This page shows Java code examples of springfox.documentation.spi.service.contexts.SecurityContext.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another example. Replace:
with: