I'm building my first EJB system and have a question about how permissions may be 
applied to bean methods where the data parameters passed to the method need to be part 
of the permission check.

Take an example of where I have a session bean that supports the maintenance of 
currencies and currency exchange rates.  

For basic CRUD type operations like 'addCurrency' I can use role based security to 
manage access..

However, assume that I have a a method like....

      setRate(String aCurrency, Date aDate, double aRate) 

I want to define permissions about who can set rates for different currencies. where 
only 'fred' can set 'US Dollar' rates, but  only 'louis' can set 'Euro' rates. 

Does JBoss include any facilities to handle this type of requirement?


<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826946#3826946";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826946>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to