Hi

For security I changed the order of the SecurityConfiguration in the 
Application Module

    public static void contributeHttpServletRequestHandler(
            @InjectService("SecurityConfiguration") HttpServletRequestFilter 
securityConfiguration,
            OrderedConfiguration<HttpServletRequestFilter> filters) {
        filters.override("SecurityConfiguration", securityConfiguration, 
"before:ResteasyRequestFilter,after:StoreIntoGlobals");
    }

regards
Taha

On Jul 18, 2012, at 5:28 AM, bhorvat wrote:

> I tried security part of the code again and I got this exception
> 
>   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.
> 
> and if I run the normal website first (just load any page) I get this
> exception
> 
> org.jboss.resteasy.spi.UnhandledException:
> java.lang.IllegalArgumentException: SessionContext must be an HTTP
> compatible implementation.
> 
> and after that I run it again, and it worked fine. The next time, exception
> again. Anyone has any idea what is the problem, or how should be best to
> solve this?
> 
> cheers
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Tapestry-Tynamo-Rest-and-security-integration-questions-tp5714525p5714530.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


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

Reply via email to