Hi all,
I was setting up a hessian proxy in applicationContext.xml and the file contained lines like these :
<bean id="ViewSecurityHessianProxy" class="org.springframework.remoting.caucho.HessianProxyFactoryBean">
<property name="serviceInterface">
<value>security.view.ViewSecurityRetriever</value>
</property>
<property name="serviceUrl">
<value>http://localhost:8080/test/caucho/ViewSecurity-hessian</value>
</property>
</bean>
<property name="serviceInterface">
<value>security.view.ViewSecurityRetriever</value>
</property>
<property name="serviceUrl">
<value>http://localhost:8080/test/caucho/ViewSecurity-hessian</value>
</property>
</bean>
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
Can anyone show me the way?
Thanks
Indra
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.