title: Apache Shiro takes me back to login page after authentication
body: <p>I am replacing Siteminder with Apache Shiro in my web application. I noticed that shiro logs me in successfully and takes me to the home page. When i click on any other link on the home page, I am taken back to the login page. I login again and i am forwarded to the page i was looking to goto. How can i fix this?</p>
  
  <p>Here is my shiro.ini</p>
  
  <pre><code>[main]
  authc.loginUrl = /login.jsp
  ssl.enabled=false
  
  [users]
  user=admin
  
  [urls]
  /css/** = anon
  /images/** = anon
  /js/** = anon
  /login.jsp = authc
  /logout = logout
  /** = authc
  </code></pre>
  
  <p>A section from my web.xml</p>
  
  <pre><code>&lt;listener&gt;
      &lt;listener-class&gt;org.apache.shiro.web.env.EnvironmentLoaderListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  &lt;filter&gt;
      &lt;filter-name&gt;ShiroFilter&lt;/filter-name&gt;
      &lt;filter-class&gt;org.apache.shiro.web.servlet.ShiroFilter&lt;/filter-class&gt;       
  &lt;/filter&gt;
  
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;ShiroFilter&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt; 
      &lt;dispatcher&gt;FORWARD&lt;/dispatcher&gt; 
      &lt;dispatcher&gt;INCLUDE&lt;/dispatcher&gt; 
      &lt;dispatcher&gt;ERROR&lt;/dispatcher&gt;      
  &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>Printing out currentUser.isAuthenticated() in my User Class displays 'true'.</p>
  
  <p>Is there any other info i can provide?</p>