Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.acegisecurity.context.rmi

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.

See:
Description

Class Summary
ContextPropagatingRemoteInvocation | The actual `RemoteInvocation` that is passed from the client to the server, which contains the contents of `SecurityContextHolder`, being a `SecurityContext` object.
ContextPropagatingRemoteInvocationFactory | Called by a client-side instance of `org.springframework.remoting.rmi.RmiProxyFactoryBean` when it wishes to create a remote invocation.

## Package org.acegisecurity.context.rmi Description

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"/>
`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.