1
0
mirror of synced 2026-08-05 09:47:05 +00:00

Remove additional attribute name from CsrfWebFilter

Fixes gh-4799
This commit is contained in:
Rob Winch
2017-11-07 21:03:09 -06:00
parent 91e27c1422
commit 3f18881493
2 changed files with 0 additions and 14 deletions
@@ -387,12 +387,6 @@ public class ServerHttpSecurity {
return this;
}
public CsrfBuilder csrfTokenAttributeName(String csrfTokenAttributeName) {
Assert.notNull(csrfTokenAttributeName, "csrfTokenAttributeName cannot be null");
this.filter.setCsrfTokenAttributeName(csrfTokenAttributeName);
return this;
}
public CsrfBuilder serverCsrfTokenRepository(
ServerCsrfTokenRepository serverCsrfTokenRepository) {
this.filter.setServerCsrfTokenRepository(serverCsrfTokenRepository);