About Question enthuware.oce-ejbd.v6.2.478 :

Moderator: admin

Post Reply
PedroKowalski
Posts: 25
Joined: Thu Aug 04, 2011 10:36 am
Location: Poland
Contact:

About Question enthuware.oce-ejbd.v6.2.478 :

Post by PedroKowalski »

Howdy!

Just a note to the explanation:
Parameters:

roleName - The name of the security role. The role must be one of the security roles that is defined in the deployment descriptor.
As far as I remember, the overall view on security roles is a set derived from security roles defined in DD and in @DeclareRoles. Therefore I think in order to invoke the isCallerInRole(String) method, it's enough that the role is defined through the @DeclareRoles annotation.

Cheers!

admin
Site Admin
Posts: 10090
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.478 :

Post by admin »

This method description is copied from the API: http://download.oracle.com/javaee/6/api ... ng.String)

But technically, you are correct. Appropriate note has been added to the explanation.

Thanks for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests