Apr 22nd, 2005, 10:16 AM
Authentication for RMI and Web Services
I have some service beans, which, using dao's provide a service layer. I need to publish these services for remote use for both RMI and web services. Usings spring's RmiProxyFactorBean and RmiServiceExporter I made them available over RMI.
What I don't get is how to provide authorization. After searching this forum I found about the acegi framework, which seems to offer what I need (and a lot more). Does anyone have a tutorial/sample application which uses acegi to accomplish this task? Or any documents dealing with publishing bot RMI and Web Services? I will greatly appreciate any comments/remarks/etc.