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
This commit is contained in:
Daniel Bustamante Ospina
2018-11-09 12:46:31 -05:00
committed by Rob Winch
parent d28e32b000
commit 808fbfa161
2 changed files with 2 additions and 38 deletions

View File

@@ -22,6 +22,8 @@ dependencies {
compile project(':spring-security-web')
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
compile 'org.springframework.boot:spring-boot-starter-webflux'
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5'
testCompile project(':spring-security-test')
testCompile 'org.springframework.boot:spring-boot-starter-test'