A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
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.....
I agree. Here's the link:
@DeclareRoles vs @RolesAllowed
Security in EJB
Query:About RolesAllowed annotation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014