浏览代码

fix typo in setUseSecureCookie method documentation

Tristan Burch 13 年之前
父节点
当前提交
e7f47964ee

+ 1 - 1
web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java

@@ -441,7 +441,7 @@ public abstract class AbstractRememberMeServices implements RememberMeServices,
 
     /**
      * Whether the cookie should be flagged as secure or not. Secure cookies can only be sent over an HTTPS connection
-     * and this cannot be accidentally submitted over HTTP where they could be intercepted.
+     * and thus cannot be accidentally submitted over HTTP where they could be intercepted.
      * <p>
      * By default the cookie will be secure if the request is secure. If you only want to use remember-me over
      * HTTPS (recommended) you should set this property to {@code true}.