Skip to content

Commit 8655caa

Browse files
dbuosrwinch
authored andcommitted
Update webflux-form sample to use Built in CSRF Support
Remove the CsrfControllerAdvice class and update dependencies to add org.thymeleaf.extras:thymeleaf-extras-springsecurity5 Issue: gh-6061
1 parent dc5f5f3 commit 8655caa

File tree

2 files changed

+2
-38
lines changed

2 files changed

+2
-38
lines changed

samples/boot/webflux-form/spring-security-samples-boot-webflux-form.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ dependencies {
2222
compile project(':spring-security-web')
2323
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
2424
compile 'org.springframework.boot:spring-boot-starter-webflux'
25+
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5:3.0.4.RELEASE'
26+
2527

2628
testCompile project(':spring-security-test')
2729
testCompile 'org.springframework.boot:spring-boot-starter-test'

samples/boot/webflux-form/src/main/java/sample/CsrfControllerAdvice.java

-38
This file was deleted.

0 commit comments

Comments
 (0)