Skip to content

Commit 98b34f0

Browse files
Updated Spring Security article after releasing support for Spring WebFlux
1 parent 064fcfa commit 98b34f0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/articles/springsecurity.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ to use Thymeleaf for login and error pages.
1010
All the code seen here comes from a working application. You can view or
1111
download the source code from [its GitHub repo](https://github.com/thymeleaf/thymeleafexamples-springsecurity).
1212

13+
**Note** that the Thymeleaf integration packages for Spring Security support both
14+
Spring MVC and Spring WebFlux applications since Spring Security 5, but this
15+
article will focus on a Spring MVC configuration.
16+
1317

1418
Prerequisites
1519
-------------
@@ -92,7 +96,7 @@ Our **login.html** template is as follows:
9296
Error page
9397
----------
9498

95-
We can also configure an error page based on Thymeleaf . In this case Spring
99+
We can also configure an error page based on Thymeleaf. In this case Spring
96100
Security is not involved at all, we should simply add an
97101
[ExceptionHandler](https://spring.io/blog/2013/11/01/exception-handling-in-spring-mvc)
98102
to our Spring configuration like:
@@ -142,9 +146,9 @@ to use this `error.html` in other error reporting scenarios).
142146
Spring Security Dialect
143147
-----------------------
144148

145-
The [Spring Security 3 integration
146-
module](https://github.com/thymeleaf/thymeleaf-extras-springsecurity3)
147-
is a Thymeleaf dialect equivalent to [Spring security
149+
In Spring MVC environments, the [Spring Security integration
150+
module](https://github.com/thymeleaf/thymeleaf-extras-springsecurity)
151+
works as a replacement of the [Spring security
148152
taglib](http://docs.spring.io/spring-security/site/docs/4.2.x/reference/html/taglibs.html).
149153

150154
We use this dialect in the example in order to print the logged user

0 commit comments

Comments
 (0)