Hi,
I have a stateless bean, and some methods are annotated with @RolesAllowed.
This bean is called both by a web application and an application client.
Is there a way to find out at runtime if the user logged in is
authorized to call a particular method in the bean? I don't want my
users just to try to see if they get an exception or not!
Thank you in advance for the help!
Piero