Skip to content

Commit

Permalink
Add Link to WebFlux Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange authored and jzheaux committed Nov 2, 2020
1 parent b8f8fab commit ab9a310
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/manual/src/docs/asciidoc/_includes/reactive/webflux.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,6 @@ class HelloWebfluxSecurityConfig {

This configuration explicitly sets up all the same things as our minimal configuration.
From here you can easily make the changes to the defaults.

You can find more examples of explicit configuration in unit tests, by searching https://github.com/spring-projects/spring-security/search?q=path%3Aconfig%2Fsrc%2Ftest%2F+EnableWebFluxSecurity[EnableWebFluxSecurity in the `config/src/test/` directory], e.g. https://github.com/spring-projects/spring-security/blob/9cf3129d7afa2abb439aba6aadfee0a2c8c784bf/config/src/test/java/org/springframework/security/config/annotation/web/reactive/EnableWebFluxSecurityTests.java#L349-L366[MultiSecurityHttpConfig] illustrating multiple `SecurityWebFilterChain` beans.

0 comments on commit ab9a310

Please sign in to comment.