If you're using ShiroFilter, the SecurityManager should always be available within that filter, any filters registered in shiro, and any subsequent servlets. What does your filter look like, and how is your application configured?
-Jared On Wed 16 May 2012 02:09:38 PM CDT, tarka wrote: > Hi, My question is pretty much in the title! I am trying to implement a > filter that redirects users based on their role but not surprisingly I am > getting an error message stating that No SecurityManager is accessible to > the calling code when I try to retrive the current users role. > > How would I go about making the SecurityManager available? > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Making-Security-manager-accessible-in-Filter-tp7562478.html > Sent from the Shiro User mailing list archive at Nabble.com.
