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.