Results 1 to 3 of 3

Thread: @Secured @RolesAllowed and AspectJ

  1. #1
    Join Date
    Sep 2005
    Posts
    26

    Default @Secured @RolesAllowed and AspectJ

    hi there,
    a colleague told me, that the usage of jsr250 (@rolesallowed) is not possible when using aspectj.

    is this right?

    can i use jsr250/@rolesallowed only with spring aop?

    thanks in advance, strug
    Last edited by strug; Dec 24th, 2008 at 03:01 AM.

  2. #2
    Join Date
    Sep 2005
    Posts
    26

    Default

    no one? or is the answer to easy?

  3. #3
    Join Date
    Jun 2007
    Location
    Minsk, Belarus
    Posts
    215

    Default

    In ordinary case it is possible:

    The <global-method-security> Element:
    http://static.springframework.org/sp...-global-method

    Code:
    <global-method-security secured-annotations="false" jsr250-annotations="enabled"/>
    Last edited by Andrei Tsibets; Dec 24th, 2008 at 03:34 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •