瀏覽代碼

Improve JavaDocs.

Ben Alex 21 年之前
父節點
當前提交
bf53abf46e
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 2 0
      changelog.txt
  2. 8 0
      core/src/main/java/org/acegisecurity/providers/dao/salt/ReflectionSaltSource.java

+ 2 - 0
changelog.txt

@@ -4,6 +4,8 @@ Changes in version 0.x (2004-xx-xx)
 * Added additional DaoAuthenticationProvider event when user not found
 * Added Authentication.getDetails() to DaoAuthenticationProvider response
 * Fixed EH-CACHE-based caching implementation behaviour when cache exists
+* Fixed Ant "release" target not including project.properties
+* Documentation improvements
 
 Changes in version 0.6 (2004-08-09)
 -----------------------------------

+ 8 - 0
core/src/main/java/org/acegisecurity/providers/dao/salt/ReflectionSaltSource.java

@@ -72,6 +72,14 @@ public class ReflectionSaltSource implements SaltSource, InitializingBean {
         }
     }
 
+    /**
+     * The method name to call to obtain the salt. If your
+     * <code>UserDetails</code> contains a <code>UserDetails.getSalt()</code>
+     * method, you should set this property to <code>getSalt</code>.
+     *
+     * @param userPropertyToUse the name of the <b>getter</b> to call to obtain
+     *        the salt from the <code>UserDetails</code>
+     */
     public void setUserPropertyToUse(String userPropertyToUse) {
         this.userPropertyToUse = userPropertyToUse;
     }