Hello Jared,
Thank you so much for your post. Unfortunately I'm still learning how shiro
works and I didn't clearly understand your suggestion.
My ShiroWebEnvironment class extends IniWebEnvironment class and in the
web.xml file I had to add the following code so shiro during initialization
will call this method.-
_____
<context-param>
<param-name>shiroEnvironmentClass</param-name>
<param-value>ca.sportstats.acl.ShiroWebEnvironment</param-value>
</context-param>
_____
Do I have to do something similar in your suggestion as well? Write a class
that extends createWebSecurityManager and point to it in the web.xml file?
If so, what should be the param-name of the context-param I'll have to add?
Another problem is that will I still have to initialize via the ini file in
this case? I'm also Interested in knowing how I can programmatically
initialize the [urls] section so I may consider avoiding the use of the
shiro.ini file altogether.
Thank you!
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Dynamically-set-Client-apiKeyFileLocation-value-during-initialization-shiro-ini-tp7580145p7580147.html
Sent from the Shiro User mailing list archive at Nabble.com.