Yes, for your subclass, just configure the ini file [or for testing you could just call SecurityManager.setRealms()] http://shiro.apache.org/authentication.html#Authentication-RealmAuthenticationOrder
On Wed, Jan 27, 2016 at 5:09 PM, jonathan.labin <[email protected]> wrote: > Is this still the recommended approach for a separate authorization realm? > > For testing purposes, how would I get Shiro to load my subclassed version > of > the the iniRealm? > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Multiple-Realms-one-for-Authentikation-one-for-Authorization-tp1113845p7580919.html > Sent from the Shiro User mailing list archive at Nabble.com. >
