question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide EndpointRequest for configuring WebFlux-based Security

See original GitHub issue

Using Spring Boot, SpringMVC and Spring Security I can configure the security part of my Spring Boot app as follows:

...requestMatchers(EndpointRequest.to("status", "info"))...

Now, I’m migrating from SpringMVC to Spring WebFlux. I see that I’ve to use pathMatchers() instead of requestMatchers from Spring Security. However, EndpointRequest is depending on HttpServletRequest (and thus on Spring MVC). In https://stackoverflow.com/questions/47287312/spring-security-with-webflux-how-to-migrate-requestmatchersendpointrequest-to#comment-81531115 @bclozel suggests to open an issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mbhavecommented, Jan 9, 2018

I don’t think it can be dangerous so to speak. Even if the name is the same, one gives you a RequestMatcher and the reactive on would provide a ServerWebExchangeMatcher.

1reaction
philwebbcommented, Jan 8, 2018

Looks like SPR-16298 has been marked as resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EndpointRequest (Spring Boot 3.0.0 API)
Returns a matcher that includes all actuator endpoints . It also includes the links endpoint which is present at the base path of...
Read more >
Spring Boot 2.0 disable default security - Stack Overflow
According to the new updates in Spring 2.0, if Spring Security is on the classpath, Spring Boot will add @EnableWebSecurity.
Read more >
[Solved]-Spring Boot 2.0 disable default security-Springboot
Technically security is still configured, but wide open. @Configuration @ConditionalOnProperty(prefix = "security", value = "disabled", havingValue = "true") ...
Read more >
How to Enable All Endpoints in Spring Boot Actuator - Baeldung
class because this will let us apply our own security configuration to the /actuator. Over in our configuration class, let's configure a couple ......
Read more >
Securing Spring Boot Actuator Endpoints with Spring Security
Here we will be using inMemoryAuthentication to provide authentication. To configure in hibernate with DB authentication check Spring Boot ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found