浏览代码

SEC-2012: Remove additional incorrect javadoc from UserDetails#getPassword()

Rob Winch 13 年之前
父节点
当前提交
1d701a2d8f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/src/main/java/org/springframework/security/core/userdetails/UserDetails.java

+ 1 - 1
core/src/main/java/org/springframework/security/core/userdetails/UserDetails.java

@@ -53,7 +53,7 @@ public interface UserDetails extends Serializable {
     Collection<? extends GrantedAuthority> getAuthorities();
 
     /**
-     * Returns the password used to authenticate the user. Cannot return <code>null</code>.
+     * Returns the password used to authenticate the user.
      *
      * @return the password
      */