6

I am new to Shiro, I want to use this for securing my web application. I have tested it's various features.

I have also tested

[urls]
/login.xhtml = authc
/logout = logout
/admin/** = user, roles[admin]
/guest/** = user, roles[admin,guest]

But In my application I want to configure this section dynamically. I Found some solutions like dynamically create the Ini instance or implementation but can they didn't solve my problem. Please provide me suggestion or way to out. Some code snippet will be better

Ankit Katiyar
  • 2,631
  • 2
  • 20
  • 30
  • Would this be dynamically (via code) during startup, or changeable throughout the whole application lifecycle? – Wouter Apr 05 '14 at 20:58
  • Ya I wanted to do this or change as permissions for a particular URL changed by the user. Actually I was trying to configure shiro basic configuration using java-code, but I found that it gives preference to INI and get information from ini, I failed to configure without INI – Ankit Katiyar Apr 21 '14 at 06:07
  • Have you figured out a way to do this ? – Mohyt Sep 09 '15 at 18:29

0 Answers0