DWR

@Auth annotation only allows single value

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.1
  • Fix Version/s: 3.0.M1
  • Component/s: Security
  • 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.
    Show
    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.
  1. Allow_multiple_values_for_role.patch
    (1 kB)
    Hani Suleiman
    30/May/07 3:05 PM

Activity

Hide
Hani Suleiman added a comment - 30/May/07 7: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)

Show
Hani Suleiman added a comment - 30/May/07 7: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)
Hide
Joe Walker added a comment - 30/May/07 8:52 PM

patch applied to HEAD - thanks

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

People

Dates

  • Created:
    30/May/07 3:04 PM
    Updated:
    30/May/07 8:52 PM
    Resolved:
    30/May/07 8:52 PM