浏览代码

SEC-884: As per discussion in this issue. Added Javadoc to specify that Authentication object passed to decide method must not be null.

Luke Taylor 16 年之前
父节点
当前提交
ab69a0a101
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/src/main/java/org/springframework/security/access/AccessDecisionManager.java

+ 1 - 1
core/src/main/java/org/springframework/security/access/AccessDecisionManager.java

@@ -32,7 +32,7 @@ public interface AccessDecisionManager {
     /**
      * Resolves an access control decision for the passed parameters.
      *
-     * @param authentication the caller invoking the method
+     * @param authentication the caller invoking the method (not null)
      * @param object the secured object being called
      * @param configAttributes the configuration attributes associated with the secured object being invoked
      *