Skip to content

Commit a485109

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 633e5b8 commit a485109

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ public ServletApiConfigurer<HttpSecurity> servletApi() throws Exception {
723723
* }
724724
* </pre>
725725
*
726-
* @return the {@link ServletApiConfigurer} for further customizations
726+
* @return the {@link CsrfConfigurer} for further customizations
727727
* @throws Exception
728728
*/
729729
public CsrfConfigurer<HttpSecurity> csrf() throws Exception {

0 commit comments

Comments
 (0)