パッケージ org.springframework.security.remoting.rmi
Spring の RMI リモート拡張ポイントの使用を有効にして、1 つの JVM からリモート JVM に
SecurityContextHolder
(Authentication
リクエストトークンを含める必要があります)を伝搬します。Bean は次のように接続されています。
<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="org.springframework.security.remoting.rmi.ContextPropagatingRemoteInvocationFactory"/>
クラスのサマリー クラス 説明 ContextPropagatingRemoteInvocation 使用すべきではありません。 5.6.0 現在、代替なしContextPropagatingRemoteInvocationFactory 使用すべきではありません。 5.6.0 現在、代替なし