mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-09 06:50:05 +00:00
Clarify in .csrf() enables CSRF protection
Closes gh-9489
This commit is contained in:
parent
cf2bb62442
commit
92b3a7b01b
@ -1530,7 +1530,7 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds CSRF support. This is activated by default when using
|
||||
* Enables CSRF protection. This is activated by default when using
|
||||
* {@link WebSecurityConfigurerAdapter}'s default constructor. You can disable it
|
||||
* using:
|
||||
*
|
||||
@ -1556,7 +1556,7 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds CSRF support. This is activated by default when using
|
||||
* Enables CSRF protection. This is activated by default when using
|
||||
* {@link WebSecurityConfigurerAdapter}'s default constructor. You can disable it
|
||||
* using:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user