I hope this is correct config, isn't ?

  <filter>
    <filter-name>shiroFilter</filter-name>
   
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
    <init-param>
      <param-name>targetFilterLifecycle</param-name>
      <param-value>true</param-value>
    </init-param>
  </filter>

  
  
  
  <filter-mapping>
    <filter-name>shiroFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

<bean id="shiroFilter"
class="org.apache.shiro.spring.web.ShiroFilterFactoryBean">
    <property name="securityManager" ref="securityManager" />
    <property name="filterChainDefinitions">
      <value>
        /** = anon
        </value>
    </property>
  </bean>


--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Anonymous-access-configuration-for-ShiroFilterFactoryBean-tp6319168p6325058.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to