Register / Login
EJB and other Java EE Technologies
posted 6 years ago
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.....
Query:About RolesAllowed annotation
@DeclareRoles vs @RolesAllowed
Security in EJB