On Fri, Sep 24, 2010 at 9:00 AM, slott
<[email protected]> wrote:
>
> 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

And that is what maven default configuration does if you put it in
src/main/resources/ as you've already done.
=)

Reply via email to