I saw there is a getPrincipal() method in the Services generated by the Spring 
Cartridge. Good ! I just have problem using it ...



This method calls PrincipalStore.get() to actually get the Principal. Fine. But 
the PrincipalStore obviously needs to be given the Principal (with the set() 
method). This is the task of eg: the Web tier (as stated in the doc). The web 
app generated by Bpm4Struts doesnt seem to handle that, at least not when using 
container based authentication.



Question : Where (in my code) should I register the Principal ? Could (should) 
it be generated automatically by the Bpm4Struts / Webservice cartridges ?



Thanks a lot for the help !
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=298#298
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
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=7412&alloc_id=16344&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to