I was trying to configure a Togglz feature with UserRoleActivationStrategy but while determining the state of the Feature an exception is thrown at . I configured the module as described in the documentation. The application is running on Jetty.
Did anybody have similar problems or does anyone have experience using different strategies?
We don't use this ourselves, and I must admit only having a vague recollection of this.
It looks like the HttpServletRequestHolder class you are calling is just togglz code, rather than anything in the isisaddons togglz integration.
A quick search through the togglz docs led me to , from which it seems that something somewhere needs to call bind() on this class , to set the user on a thread-local. Perhaps using HttpServletRequestHolderListener  ?
If you get something working, perhaps you could submit a PR to the docs to make this clearer?