What options do I have to read the roles of the current user from my JSP pages? I’m aware of the visibleOnUserRole='myRole' attribute on Tomahawk components, but I need roles for a bit more complicated things than simple visibility.
What options do I have to read the roles of the current user from
Share
The ExternalContext exposes user and role information.
If you’re using JSF in servlets, this information maps to the values exposed by the HttpServletRequest.
You can use managed beans to expose values to the view via the Expression Language.