Probably it was fixed in 3.1 At least I got both authorize and accesscontrollist TAGs worrking with custom PermissionEvaluator:
Code:
<http entry-point-ref="casEntryPoint" use-expressions="true" >
...
<intercept-url pattern="/11*" access="hasPermission('strObject', 'truePermission')"/>
...
<expression-handler ref="webExpressionHandler"/>
</http>
....
<b:bean id="webExpressionHandler" class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler">
<b:property name="permissionEvaluator" ref="permissionEvaluator"/>
</b:bean>
Note:
Code:
<sec:authorize access="hasPermission(#varName, 'some_permission')">
will try to resolve "varName" by using pageConext.findAttribute("varName"). Looks like accesscontrollist tag is easier to use.