浏览代码

SEC-1611: Make access attribute in authorize tag a runtime expression

Luke Taylor 14 年之前
父节点
当前提交
85d685f7d3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      itest/web/src/main/webapp/WEB-INF/security.tld
  2. 1 1
      taglibs/src/main/resources/META-INF/security.tld

+ 1 - 1
itest/web/src/main/webapp/WEB-INF/security.tld

@@ -22,7 +22,7 @@
         <attribute>
         <attribute>
             <name>access</name>
             <name>access</name>
             <required>false</required>
             <required>false</required>
-            <rtexprvalue>false</rtexprvalue>
+            <rtexprvalue>true</rtexprvalue>
             <description>
             <description>
                 A Spring-EL expression which is supported by the WebSecurityExpressionHandler
                 A Spring-EL expression which is supported by the WebSecurityExpressionHandler
                 in the application context. The latter will be used to evaluate the expression.
                 in the application context. The latter will be used to evaluate the expression.

+ 1 - 1
taglibs/src/main/resources/META-INF/security.tld

@@ -22,7 +22,7 @@
         <attribute>
         <attribute>
             <name>access</name>
             <name>access</name>
             <required>false</required>
             <required>false</required>
-            <rtexprvalue>false</rtexprvalue>
+            <rtexprvalue>true</rtexprvalue>
             <description>
             <description>
                 A Spring-EL expression which is supported by the WebSecurityExpressionHandler
                 A Spring-EL expression which is supported by the WebSecurityExpressionHandler
                 in the application context. The latter will be used to evaluate the expression.
                 in the application context. The latter will be used to evaluate the expression.