wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes @DeclareRoles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "@DeclareRoles" Watch "@DeclareRoles" New topic


Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 602

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.....

===>SCJP 1.5(72%)<===
I agree. Here's the link: http://aspose.com/file-tools
subject: @DeclareRoles
It's not a secret anymore!