Issue Details (XML | Word | Printable)

Key: DWR-108
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Joe Walker
Reporter: Hani Suleiman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DWR

@Auth annotation only allows single value

Created: 30/May/07 03:04 PM   Updated: 30/May/07 08:52 PM   Resolved: 30/May/07 08:52 PM
Component/s: security
Affects Version/s: 2.0.1
Fix Version/s: 3.0.M1

File Attachments: 1. Text File Allow_multiple_values_for_role.patch (1 kB)



 Description  « Hide
It's useful to be able to constrain a method invocation to multiple roles instead of just one. DWR supports this, but the @Auth annotation does not. Patch attached changes the role attribute to be an array, which is backward compatible since users can still use the single-value syntax.


Sort Order: Ascending order - Click to sort in descending order
Hani Suleiman added a comment - 30/May/07 07:08 PM
The one caveat is that this change is not binary compatible as the annotation signature has changed, so users will need to recompile (but no code changes required)

Joe Walker added a comment - 30/May/07 08:52 PM
patch applied to HEAD - thanks