A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
EJB and other Java EE Technologies
Joined: Nov 09, 2008
Dec 16, 2009 07:01:56
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014