瀏覽代碼

Authz check(boolean result)

Issue: gh-5016
Rob Winch 7 年之前
父節點
當前提交
ca5fb78ee1

+ 5 - 0
config/src/test/java/org/springframework/security/config/annotation/method/configuration/Authz.java

@@ -25,6 +25,11 @@ import org.springframework.stereotype.Component;
  */
 @Component
 public class Authz {
+
+	public boolean check(boolean result) {
+		return result;
+	}
+
 	public boolean check(long id) {
 		return id % 2 == 0;
 	}