hello,


in order to add roles to the web application you will need to modify the UML 
model (using MagicDraw since that's what was used to create it), what you will 
need to do is add an actor 'Administrator' and associate it with the use-case 
which he is authorized to use, this is explained here: 



(you will also need to have security enabled, which is not enabled by default 
in that sample)



if you have done this then the cartridge will generate code that will make sure 
only users with the administrator role will be able to access the use-cases's 
resources (code changes in web.xml and the related JSPs)



but to be honest, the car-rental example is not really the best choice if you 
want to learn about AndroMDA + Struts, I strongly recommend taking a look at 
the online-store sample, it has been designed as a Struts example; as opposed 
to the car-rental sample it is more actively maintained



good luck
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2790#2790
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to