I would like to put my shiro.ini file in my WEB-INF directory.

Its seems like using 

  <filter>
    <filter-name>ShiroFilter</filter-name>
    <filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
      <init-param>
       <param-name>configPath</param-name>
       <param-value>file:shiro.ini</param-value>
    </init-param>
  </filter>

in web.xml, Doesn't allow Shiro to find shiro.ini, and it seems that file:
is expecting an absolute path, which I would like to avoid since the
applications is deployed in various environments.

How should I go about doing this?  -thanks!
-- 
View this message in context: 
http://shiro-user.582556.n2.nabble.com/would-like-to-put-shiro-ini-in-WEB-INF-tp5191935p5191935.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to