File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch 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:
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-2015