I would say realmAccessor solution is the better of the two, so I would use that, but that’s up to you.
> On Apr 19, 2024, at 1:53 PM, Andrew G10i <[email protected]> wrote: > > Sounds great - it will help a lot! I would wait for 2.0.1 then! 🙂 > > From: lenny > Sent: Friday, April 19, 2024 20:43 > > > You are right! What you did is absolutely fine and supported. > I forgot you can simply override SecurityManager instance in shiro.ini. > Since you did it that way, everything should work correctly in 2.0 > > The realmAccessor solution should be the only thing you need. > When 2.0.1 is released, ShiroFilter.unwrapSecurityManager() should be exposed > as public method.
