Hi I'm struggling to understand what the @DeclareRoles annotation does...
I understand the @RunAs and @RolesAllowed but this is confusing me...
The way I understand it is that by the time the bean is called the caller already has a 'Principal' with it's role/s defined.....
(Also sorry to the moderators but this is a double post...I posted this in the
EJB forum about 5 days ago but got no response...So I wanted to try my luck here)