hello everyone,
I want to use apache shiro to secure a java EE web application. everything
is working well except one thing which is setting properties in shiro.ini
file. other things in shiro.ini work well like object creation and urls. for
now I'm using custom objects whenever I need to set a property like loginUrl
or unauthorizedUrl and that's not practical.
In my lib folder (I use Eclipse) I have : shiro-core.jar, shiro-web.jar,
jlf4j-api.jar , jstl.jar and commons-binutils.jar.

Each time I set an object property and restart the server I get 404 error
code for any page in the project (even the login)
and in my web.xml I have the configuration copied from the documentation :
<filter>
    <filter-name>ShiroFilter</filter-name>
    <filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
  </filter>
  
  <filter-mapping>
    <filter-name>ShiroFilter</filter-name>
    <url-pattern>/*</url-pattern>
  <filter-mapping>
So does anyone know what could cause such problem?



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Setting-object-properties-shiro-ini-tp7578556.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to