mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Fix typo in Javadoc
This commit simply fixes typo in Javadoc.
This commit is contained in:
parent
94e580fe64
commit
50b72dddbc
@ -29,7 +29,7 @@ import org.springframework.util.StringUtils;
|
||||
import org.springframework.web.util.WebUtils;
|
||||
|
||||
/**
|
||||
* A {@link CsrfTokenRepository} that persist the CSRF token in a cookie named
|
||||
* A {@link CsrfTokenRepository} that persists the CSRF token in a cookie named
|
||||
* "XSRF-TOKEN" and reads from the header "X-XSRF-TOKEN" following the conventions of
|
||||
* AngularJS. When using with AngularJS be sure to use {@link #withHttpOnlyFalse()}.
|
||||
*
|
||||
@ -163,7 +163,7 @@ public final class CookieCsrfTokenRepository implements CsrfTokenRepository {
|
||||
* Factory method to conveniently create an instance that has
|
||||
* {@link #setCookieHttpOnly(boolean)} set to false.
|
||||
*
|
||||
* @return and instance of CookieCsrfTokenRepository with
|
||||
* @return an instance of CookieCsrfTokenRepository with
|
||||
* {@link #setCookieHttpOnly(boolean)} set to false
|
||||
*/
|
||||
public static CookieCsrfTokenRepository withHttpOnlyFalse() {
|
||||
@ -177,7 +177,7 @@ public final class CookieCsrfTokenRepository implements CsrfTokenRepository {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the path that the Cookie will be created with. This will will override the default functionality which uses the
|
||||
* Set the path that the Cookie will be created with. This will override the default functionality which uses the
|
||||
* request context as the path.
|
||||
*
|
||||
* @param path the path to use
|
||||
|
Loading…
x
Reference in New Issue
Block a user