Browse Source

Fix typo in Javadoc of HttpSecurity#csrf()

`HttpSecurity#csrf()` obviously returns a `CsrfConfigurer`, while the Javadoc states that it returns the `ServletApiConfigurer`.
pull/8721/head
Erik van Paassen 6 years ago committed by Josh Cummings
parent
commit
d4ceabd7ac
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
  1. 2
      config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java

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

@ -721,7 +721,7 @@ public final class HttpSecurity extends
* } * }
* </pre> * </pre>
* *
* @return the {@link ServletApiConfigurer} for further customizations * @return the {@link CsrfConfigurer} for further customizations
* @throws Exception * @throws Exception
*/ */
public CsrfConfigurer<HttpSecurity> csrf() throws Exception { public CsrfConfigurer<HttpSecurity> csrf() throws Exception {

Loading…
Cancel
Save