I would say that you're trying to workaround issue instead of solving it.
But I'm unable to help you. Try lower shiro logging threshold to TRACE, add
breakpoints to SecurityUtils.setManager and all ThreadContext.set* calls.
It can help to find an issue.

Regards,
Alexandr Vasilenko
Web Developer
Skype:menterr
mob: +38097-611-45-99


2012/1/10 Jamesb <[email protected]>

> Can anyone confirm if it is right that I've left the following config in my
> applicationcontext.xml:
>  <bean
> class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
>        <property name="staticMethod"
> value="org.apache.shiro.SecurityUtils.setSecurityManager"/>
>        <property name="arguments" ref="securityManager"/>
>    </bean>
> ?
>
> Even though the documentation says it should not be necessary in a web
> application?
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/Do-you-have-to-SecurityUtils-setSecurityManager-in-a-web-app-to-use-shiro-tag-library-tp7114798p7171769.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to