Hi Richard,

While this would work, it is a little odd for Java web-app
environments.  Why not put shiro.ini in WEB-INF/classes?  The Shiro's
web support knows how to look in that location as a fallback if it is
not in WEB-INF and it will work for classpath:shiro.ini references as
well.

Cheers,
--
Les Hazlewood | @lhazlewood
CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282


On Thu, Jun 6, 2013 at 10:52 AM, [email protected]
<[email protected]> wrote:
> Thanks, Les.  That got me back on track.
>
> If anyone else needs to do something similar, here is what I added to my
> pom.xml file's build section to configure Jetty's web app classpath:
>
> If using another web container, its classpath would need to be configured
> appropriately.
>
>
>
>
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/How-to-read-an-INI-file-on-the-classpath-tp7578796p7578809.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to