cdiexample icon indicating copy to clipboard operation
cdiexample copied to clipboard

Issue on apache shiro security manager

Open wassimz opened this issue 10 years ago • 0 comments

Hi,

I was using as a base for one project. When I try to logout and login, I got this exception error:

Caused by: org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.

In my project I am using the Apache shiro session object to cache some variables. So this exception appears when I login again (after doing a logout) and trying to store an object on the apache shiro session.

Any hint or help on the cause of the issue ??

Thanks

wassimz avatar Dec 21 '14 13:12 wassimz