I'm not sure I was a mailing list subscriber when I first posted so I'm replying in the hopes that the original question goes out with it.
jonathan.labin wrote > The documentation states that iniRealm is automatically created whenever a > role is defined in the ini file. > Is it possible to explicitly define the iniRealm in the ini file so that > it exists regardless of the definition of any users in the file? > > Background: > If a future developer comments out or removes the users defined in the ini > file, the iniRealm is no longer defined and errors are produced on > deployment: / > The object with id [iniRealm] has not yet been defined and therefore > cannot be referenced. / > > It would be nice to allow the users section to exist or not while still > allowing the rest of the ini file to make references to the iniRealm. > Without this ability, there is a complicated procedure that must be > documented for other developers on the team for enabling and disabling > local definition of users and roles that includes requiring a user to be > defined. > > Also, it might be nice to configure the iniRealm read users and roles from > a separate ini file than the one that realms are configured in. -- View this message in context: http://shiro-user.582556.n2.nabble.com/Explicitly-create-iniRealm-tp7580907p7580910.html Sent from the Shiro User mailing list archive at Nabble.com.
