AHH yes I have manage to wire things up.. For some reason tho I haven't been
able to wire the [urls]. Am i doing something wrong? This is what I have:

<bean name="hpRealm" class="com.hp.spike.HpRealm"/>

<bean id="secManager" class="com.hp.spike.CustomeWebSecurityManager">
        <property name="realm" ref="hpRealm"/>
        <property name="sessionMode" value="native"/>
        
    </bean>


<bean id="authFilter" class="com.hp.spike.CustomeHttpAuthenticationFilter"
/>
    
    <bean id="shiroFilter"
class="org.apache.shiro.web.servlet.IniShiroFilter">
        <property name="securityManager" ref="secManager"/>
        <property name="config">
            <value>
                [urls]
                /* = authFilter
            </value>

        </property>

    </bean>


Then when i hit my REST endpoint it does call my
CustomeHttpAuthenticationFilter.isAccessAllowed :(

-- 
View this message in context: 
http://n2.nabble.com/Shiro-Spring-filter-tp4419140p4421723.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Reply via email to