I know how to use the isCallerInRole from within a Bean. However, I am trying to determine whether to show an input box on a JSP or not based on the security (Role) of the authenticated user.
If the user has the 'Admin' allow them to change the status. However, if they do not have 'Admin' role, only allow them to see the textual representation of the status.
How would I access role information from a JSP or some other client that is not a Session or Entity bean?