Reply To: Rewrite + Apache Shiro

Splash Forums Rewrite Users Rewrite + Apache Shiro Reply To: Rewrite + Apache Shiro

#23888

Hmmm. I’m a bit confused. Perhaps because I don’t know Shiro very much. So if I understand it correctly, Shiro should automatically redirect you to a target URL after the login was successful, correct? That’s what you configure using authc.successUrl, correct?

Could you share your web.xml please?

You could try to change the order of the RewriteFilter and the Shiro filter. You may also change the configuration of the Shiro filter by adding <dispatcher>FORWARD</dispatcher>. Or you have to change the URLs in shiro.ini to the rewritten ones.