Take a look at this:

https://github.com/apache/shiro/blob/trunk/core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java#L159-L163

It is a few parents up, but these classes are Destroyable:
https://github.com/apache/shiro/blob/trunk/core/src/main/java/org/apache/shiro/mgt/CachingSecurityManager.java#L40

However you are reloading your app, you will need to handle reinitializing
Shiro (or do something with spring)



On Wed, Jul 2, 2014 at 9:09 PM, charmpeach <[email protected]> wrote:

> It will be very helpful if you can give me some cue on where sessionManager
> become null and where to implement the life cycle handling. Thanks in
> advance!
>
>
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/NullPointerException-using-Shiro-tp7580049p7580058.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to