Sgronf wrote:

Hi,

I use spring cartridge in my project, with EJB. I'd like activate ejb security, but I don't know how to . :-(
I've just found the "securityRealm" namespace property, but I want make more...
How to do an association between a "role" and a "service" and his methods in my UML shema, using spring cartridge ?
How to generate the appropriate ejb-jar.xml file ?

First you need to enable the <securityRealm> property in your mda/project.xml. Next you need to define the actors that will represent the application's roles. Then for each actor you draw a dependency from the actor that represents your role to the service operation for which the role should have access, if you want the role having access to the entire service, then you'd draw a dependency from the role to the service (instead of just a service operation). The ejb-jar.xml will the contain all the appropriate role mappings, etc next time you run andromda.



Thank for your help.

SgronF.


------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user




------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to