Announcement Announcement Module
Collapse
No announcement yet.
Use pointcuts + Annotations Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Use pointcuts + Annotations

    Hello All,

    I have a question please, now i have a case

    I am using point cuts to secure specific class say Class 'A' with Role_ALL_CLASS
    and I am using annotations to secure a method in class 'A' say method 'B' with ROLE_ONLY_METHOD

    I do this because i need to give this method high privileges more than the other methods.

    What i expect, User will be able to access this class as long as he has ROLE_ALL_CLASS but he will not be able to access method 'B' as long as he don't have ROLE_ONLY_METHOD, Do i expect right?

    Thanks
    Mohamed
Working...
X