i think there is more chance you will get this answered on the shiro
lists since this is not wicket-related.

-igor

On Tue, Mar 16, 2010 at 9:55 AM, Fernando Wermus
<fernando.wer...@gmail.com> wrote:
> I am setting up shiro authentication and wicket, without any
> authorizationStrategy yet. I got the following message,
>
> 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.
> at org.apache.shiro.SecurityUtils.getSecurityManager(SecurityUtils.java:116)
> at org.apache.shiro.subject.Subject$Builder.<init>(Subject.java:565)
> at org.apache.shiro.SecurityUtils.getSubject(SecurityUtils.java:57)
>
> I have declared shiro filter into my web.xml and I can see that MyRealm
> class is intanceated. But I dont see SessionSecurity instanciated at all.
>
> <!-- SHIRO FILTER -->
>
>    <filter>
>
>        <filter-name>ShiroFilter</filter-name>
>
>        <filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class
>>
>
>        <init-param>
>
>           <param-name>config</param-name>
>
>           <param-value>
>
>  [main]
>
>  stupidRealm = com.misPartidos.web.MyRealm
>
>           </param-value>
>
>        </init-param>
>
>    </filter>
>
> I am not using spring as an the example showed, neither wicket-shiro
> project, do I?
>
> Thanks in advance
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to