Issue Details (XML | Word | Printable)

Key: SWF-486
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Scott Andrews
Reporter: Keith Donald
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring Web Flow

Add a <secured/> element for defining security attributes at flow, state, and transition level

Created: 27/Feb/08 05:59 PM   Updated: 29/Feb/08 05:02 PM   Resolved: 29/Feb/08 05:02 PM
Component/s: Integration: Security
Affects Version/s: 2.0 M3
Fix Version/s: 2.0 M4

Time Tracking:
Not Specified


 Description  « Hide
Add a <secured/> element for defining security attributes at flow, state, and transition level

Keith Donald added a comment - 29/Feb/08 09:46 AM
Add <secured/> for flow, transition, and each state type.

Example:

<secured attributes="USER, SUPERVISOR"/>
<secured attributes="USER, SUPERVISOR" comparsion-type="all"/>
<secured attributes="USER, SUPERVISOR" comparision-type="any"/>

Update spring-webflow-2.0.xsd
Update XmlFlowBuilder


Scott Andrews added a comment - 29/Feb/08 05:02 PM
Added support for element to schema and xml flow builder. Element is parsed into org.springframework.webflow.security.SecurityRule and added as attribute 'secured'. Supported at flow, state and trasition levels.

<secured authorities="USER, SUPERVISOR"/>
<secured authorities="USER, SUPERVISOR" match="all"/>
<secured authorities="USER, SUPERVISOR" match="any"/>