Indra Gunawan wrote:
Hi all,
I was setting up a hessian proxy in applicationContext.xml and the file contained lines like these :
and I wanted to be authenticated using Basic Auth. But, since I don't want to make it declarative, I have to program it so I can support username and password using Swing Login Dialog.
I tried getApplicationContext.getBean and casted it to org.springframework.remoting.caucho.HessianProxyFactoryBean but I got CastException :D
Hi Indra
You need to access the HessianProxyFactoryBean with an "&" in front of the bean name.
You might like to check out org.springframework.richclient.security.RemotingSecurityConfigurer, as I just checked in a working class (now ver 1.2) that automatically does this within RCP clients.
I'll copy the Spring Users list on this, as I know you had a similar question over there a few days back.
Best regards Ben
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Acegisecurity-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer