Alexander Monakhov wrote
Please advise if there's an easy way to get the list of defined users and roles from SimpleAccountRealm created from ini file?
All relevant fields are protected in that class, but cannot I simply resolve the problem via inheritance as IniWebEnvironment explicitly instantiates WebIniSecurityManagerFactory in createDefaults.
The only feasible way I see is to subclass IniWebEnvironment and override createWebSecurityManager where I will pass custom WebIniSecurityManagerFactory, etc. This looks too cumbersome.
Will it be a good idea to add simple accessors to SimpleAccountRealm? (with protective copying, if needed).
I use Shiro 1.3.2
Thanks in advance!