我创建了一个CustomWebSecurityExpressionHandler,通过搜索函数ID来检查db表上的用户。我想在每个函数上只改变一些数据库更新并重新启动上下文,而不用重新编译和编辑一堆XML。Spring WebFlow + Spring Security:使用表达式而不是角色
我想在webflow中使用SpringSecurityExpression!就像我在春季其他任何地方都可以做的那样...
<?xml version="1.0" encoding="UTF-8"?>
<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow
http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd">
<secured attributes="isFUUU('key')" />
<view-state id="main" view="dashboard/main.html" >
</view-state>
</flow>
我该如何让isFUU(“key”)工作?这是一个自定义的CustomAccessDecisionManager需要?