Announcement Announcement Module
Collapse
No announcement yet.
How to get logged user's role in the gsp page? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get logged user's role in the gsp page?

    Hello, I'm new to grails and spring security. I have a question (may be basic) on how to get the currently logged in user's authority at the gsp page? I saw the necessary info is there in the session object but I don't know how to get the "Granted Authority" in the session to a variable in the gsp page without using controller. I searched on this also but all posts say how to get that detail at the controller.
Working...
X