Hi all! 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! Regards, Alexander Monakhov. -- View this message in context: http://shiro-user.582556.n2.nabble.com/Get-list-of-users-and-roles-from-SimpleAccountManager-tp7581436.html Sent from the Shiro User mailing list archive at Nabble.com.
