thanks for the reply!  I will open an issue, but this is my first forum 
post, and
I'm not sure how.

On 06/17/2010 01:17 PM, Les Hazlewood [via Shiro User] wrote:
> I don't believe this is supported, oddly enough.  Can you please open
> a Jira issue for it?
>
> In the meantime, you'll probably have to put it in /WEB-INF/classes
> and use classpath:shiro.ini
>
> Thanks,
>
> Les
>
> On Thu, Jun 17, 2010 at 10:34 AM, barmstrong <[hidden email] 
> </user/SendEmail.jtp?type=node&node=5192125&i=0>> wrote:
>
> >
> > 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
>  
> <http://shiro-user.582556.n2.nabble.com/would-like-to-put-shiro-ini-in-WEB-INF-tp5191935p5191935.html?by-user=t>
> > Sent from the Shiro User mailing list archive at Nabble.com.
> >
>
>
> ------------------------------------------------------------------------
> View message @ 
> http://shiro-user.582556.n2.nabble.com/would-like-to-put-shiro-ini-in-WEB-INF-tp5191935p5192125.html
>  
>
> To unsubscribe from would like to put shiro.ini in WEB-INF, click here 
> <http://shiro-user.582556.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=YmFybXN0cm9uZ0B0cmlhY3RpdmUuY29tfDUxOTE5MzV8LTEyMzI3NzU2NQ==>.
>  
>
>


-- 
View this message in context: 
http://shiro-user.582556.n2.nabble.com/would-like-to-put-shiro-ini-in-WEB-INF-tp5191935p5192903.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to