Skip to content

Commit 82dbce4

Browse files
evpaassenjzheaux
authored andcommitted
Fix typo in Javadoc of HttpSecurity#csrf()
`HttpSecurity#csrf()` obviously returns a `CsrfConfigurer`, while the Javadoc states that it returns the `ServletApiConfigurer`.
1 parent 48344d8 commit 82dbce4

File tree

1 file changed

+1
-1
lines changed
  • config/src/main/java/org/springframework/security/config/annotation/web/builders

1 file changed

+1
-1
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ public HttpSecurity servletApi(Customizer<ServletApiConfigurer<HttpSecurity>> se
14711471
* }
14721472
* </pre>
14731473
*
1474-
* @return the {@link ServletApiConfigurer} for further customizations
1474+
* @return the {@link CsrfConfigurer} for further customizations
14751475
* @throws Exception
14761476
*/
14771477
public CsrfConfigurer<HttpSecurity> csrf() throws Exception {

0 commit comments

Comments
 (0)