Skip to content

Commit

Permalink
Better consistency between reactive and servlet
Browse files Browse the repository at this point in the history
  • Loading branch information
rwinch committed Sep 23, 2021
1 parent 77dc3d1 commit 14fd213
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 14 deletions.
27 changes: 15 additions & 12 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,23 @@
*** xref:servlet/appendix/faq.adoc[FAQ]
* xref:reactive/index.adoc[Reactive Applications]
** xref:reactive/getting-started.adoc[Getting Started]
** xref:reactive/webflux.adoc[WebFlux Security]
** xref:reactive/exploits/index.adoc[Protection Against Exploits]
*** xref:reactive/exploits/csrf.adoc[CSRF]
*** xref:reactive/exploits/headers.adoc[Headers]
*** xref:reactive/exploits/http.adoc[HTTP Requests]
** Authentication
*** xref:reactive/authentication/x509.adoc[X.509 Authentication]
*** xref:reactive/authentication/logout.adoc[Logout]
** Authorization
*** xref:reactive/authorization/method.adoc[EnableReactiveMethodSecurity]
** xref:reactive/oauth2/index.adoc[OAuth2]
*** xref:reactive/oauth2/login.adoc[OAuth 2.0 Login]
*** xref:reactive/oauth2/access-token.adoc[OAuth2 Client]
*** xref:reactive/oauth2/resource-server.adoc[OAuth 2.0 Resource Server]
** xref:reactive/registered-oauth2-authorized-client.adoc[@RegisteredOAuth2AuthorizedClient]
** xref:reactive/x509.adoc[X.509 Authentication]
** xref:reactive/logout.adoc[Logout]
** xref:reactive/webclient.adoc[WebClient]
** xref:reactive/method.adoc[EnableReactiveMethodSecurity]
** xref:reactive/cors.adoc[CORS]
*** xref:reactive/registered-oauth2-authorized-client.adoc[@RegisteredOAuth2AuthorizedClient]
** xref:reactive/exploits/index.adoc[Protection Against Exploits]
*** xref:reactive/exploits/csrf.adoc[CSRF]
*** xref:reactive/exploits/headers.adoc[Headers]
*** xref:reactive/exploits/http.adoc[HTTP Requests]
** Integrations
*** xref:reactive/integrations/cors.adoc[CORS]
*** xref:reactive/integrations/rsocket.adoc[RSocket]
*** xref:reactive/integrations/webclient.adoc[WebClient]
** xref:reactive/test.adoc[Testing]
** xref:reactive/rsocket.adoc[RSocket]
** xref:reactive/configuration/webflux.adoc[WebFlux Security]
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ It is important to note that any of the expressions in standard method security
However, at this time we only support return type of `Boolean` or `boolean` of the expression.
This means that the expression must not block.

When integrating with xref:reactive/webflux.adoc#jc-webflux[WebFlux Security], the Reactor Context is automatically established by Spring Security according to the authenticated user.
When integrating with xref:reactive/configuration/webflux.adoc#jc-webflux[WebFlux Security], the Reactor Context is automatically established by Spring Security according to the authenticated user.

====
.Java
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/reactive/test.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[[test-erms]]
== Testing Reactive Method Security

For example, we can test our example from xref:reactive/method.adoc#jc-erms[EnableReactiveMethodSecurity] using the same setup and annotations we did in xref:servlet/test/method.adoc#test-method[Testing Method Security].
For example, we can test our example from xref:reactive/authorization/method.adoc#jc-erms[EnableReactiveMethodSecurity] using the same setup and annotations we did in xref:servlet/test/method.adoc#test-method[Testing Method Security].
Here is a minimal sample of what we can do:

====
Expand Down

0 comments on commit 14fd213

Please sign in to comment.