Dear Everyone,
By seeing another document of 'how to secure flows'....
i got a snipnet, but i dont know whether is that the right way to secure....
i will show you the code
flowExecutor is
Code:
<flow:executor id="flowExecutor" registry-ref="flowRegistry"></flow:executor>
<!-- <flow:executor id="flowExecutor" registry-ref="flowRegistry">
<flow:repository type="continuation"/>
<flow:execution-listeners>
<flow:listener ref="flowSecurityListener"/>
</flow:execution-listeners>
</flow:executor> -->
flowSecurityListener
Code:
<bean id="flowSecurityListener" class="FlowSecurityInterceptor">
<property name="rejectPublicInvocations" value="false"/>
<property name="authenticationManager" ref="authenticationManager"/>
<prperty name="accessDecisionManager" ref="accessDecisionManager"/>
<property name"flowDefinitionSource">
<value>
web-flow=ROLE_USER,ROLE_ADMIN
</value>
</property>
</bean>
please give your suggestion
BestRegards
senthil