<bean id="shiroFilter"
class="org.apache.shiro.spring.web.ShiroFilterFactoryBean">
<property name="securityManager" ref="securityManager" />
 <property name="loginUrl" value="/login" />
-------------------------------------------------------
 -------------------------------------------------------
<property name="filterChainDefinitions">
 <value>
/login = noSessionCreation, anon
/logout =  noSessionCreation, logout
 /** = authc
</value>
</property>
 </bean>


the above one unfortunately not worked for me,


i tried with jsp as follows, its working perfectly and there is no
jsession id is attached to the url where issue solved.

refresh.jsp
--------------

<%@ page session="false" %>
<html>
 <head>
  <meta http-equiv="Refresh" content="0; url=login">
 </head>
</html>

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

                <property name="loginUrl" value="/refresh" />   
=========>changed

                  -------------------------------------------------------
                  -------------------------------------------------------
                 <property name="filterChainDefinitions">
                        <value>
                                /login = anon
                                /logout =logout
                                /** = authc
                        </value>
                </property>
        </bean>


but i am using freemarker instead jsp here, so i need the behavior in
freemarker like <%@ page session="false" %>
so that my problem will be solved.

-- 

Regards,****

Nagaraju.

Reply via email to