All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.acegisecurity.context.rmi.package.html Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version


Enables use of Spring's RMI remoting extension points to propagate
the ContextHolder (which should contain an
Authentication request token)
from one JVM to the remote JVM.

The beans are wired as follows:

<bean id="test" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
<property name="serviceUrl"><value>rmi://localhost/Test</value></property>
<property name="serviceInterface"><value>test.TargetInterface</value></property>
<property name="refreshStubOnConnectFailure"><value>true</value></property>
<property name="remoteInvocationFactory"><ref bean="remoteInvocationFactory"/></property>
</bean>

<bean id="remoteInvocationFactory" class="net.sf.acegisecurity.ui.rmi.ContextPropagatingRemoteInvocationFactory"/>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy