As it says at http://incubator.apache.org/shiro/web.html
"So, if you want/need to externalize your Shiro config in a file, the
easiest thing to do is use the IniShiroFilter without any init params and
place a shiro.ini file at the root of the classpath:"
<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
<!-- no init-param means load the INI config from classpath:shiro.ini
-->
</filter>
So now u just need to make sure that the src/main/resources contents are
output to the target/classes dir
voila
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/setting-path-to-shiro-ini-tp5566471p5566521.html
Sent from the Shiro User mailing list archive at Nabble.com.