Announcement Announcement Module
Collapse
No announcement yet.
How to give different authorization to different components Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to give different authorization to different components

    Hello,
    I have a controller that gets the data from the database. I am putting the data into model and showing it in the jsp.
    Now i want some items from the database to be authorized to different roles.
    I know i can use spring security taglibs. But can i control it at the controller level? Because the data that is coming from the database comprises the data for all roles; and it is a hashmap; i m using core taglibs to show the data using <c:forEach> in the view.

    How can i do this? Please help.

    Thankyou.
Working...
X