2010/6/28 Willi Schönborn <schoenb...@cosmocode.de>:
> Correct we if i am wrong but i think you can omit the new String[] stuff
> like this:
> @RequiresRoles({"dev",  "teamLead"})
> which would look/read so much better.
> If there is only one role it should be possible to write:
> @RequiresRoles("dev")

Yes, that's just standard annotations.

Kalle

Reply via email to