Announcement Announcement Module
Collapse
No announcement yet.
Executing one advice OR the other Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Executing one advice OR the other

    Hi all,

    I am trying to use AOP to perform a particular type of authorization on certain methods of a service layer. These methods are identified by pointcuts based on the method name. For methods which do not match any other point cuts, is there a way I can have them match a 'default' pointcut (something like the AspectJ ( Pointcut ) expression) ?

    I would like this default pointcut to throw an exception to prevent any access.

    Thanks,

    Joseph
Working...
X