diff --git a/web/src/main/java/org/springframework/security/web/authentication/rememberme/TokenBasedRememberMeServices.java b/web/src/main/java/org/springframework/security/web/authentication/rememberme/TokenBasedRememberMeServices.java index 182aa771d7..aa59a37eab 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/rememberme/TokenBasedRememberMeServices.java +++ b/web/src/main/java/org/springframework/security/web/authentication/rememberme/TokenBasedRememberMeServices.java @@ -85,7 +85,7 @@ public class TokenBasedRememberMeServices extends AbstractRememberMeServices { HttpServletResponse response) { if (cookieTokens.length != 3) { - throw new InvalidCookieException("Cookie token did not contain " + 2 + + throw new InvalidCookieException("Cookie token did not contain 3" + " tokens, but contained '" + Arrays.asList(cookieTokens) + "'"); }