I use Spring HTTP-based remoting.
client example:
 
<bean id="sampleManager"
       
class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
        <property name="serviceUrl"
value="http://localhost:8084/SpringRemoting/remoting/secure/sampleManager"/>
        <property name="serviceInterface"
value="my.samples.shiro.spring.SampleManager"/>
        <property name="remoteInvocationFactory"
ref="secureRemoteInvocationFactory"/>
    </bean>

    <bean id="secureRemoteInvocationFactory"
       
class="org.apache.shiro.spring.remoting.SecureRemoteInvocationFactory"/>

As I understand Spring remoting based on servlet technology?


Les Hazlewood-3 wrote:
> 
> The filters only work for an incoming servlet request.  Are you using
> HTTP-based remoting?  Or Java RMI or some other mechanism?
> 

-- 
View this message in context: 
http://n2.nabble.com/Adding-new-custom-filter-to-filters-in-ShiroFilter-tp4188224p4200036.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to