Am 08.10.11 08:12, schrieb uris77:
How do you think that mocking the SecurityContext is related to the
grails-jaxrs plugin? Can't you set a mock security context during
setUp() of the integration test? Since I've never used the Spring
security plugin, I cannot tell you how to do that but I wonder why
grails-jaxrs should need to know about that security context.
--
Martin Krasser
blog: http://krasserm.blogspot.com
code: http://github.com/krasserm
twitter: http://twitter.com/mrt1nz
Mike
Am 09.10.11 20:41, schrieb Michael Corum:
> Well, I would suspect that it is because of the mocking environment that
> jax-rs requires for integration tests. It essentially has its own versions
> of the grails spring security contexts.
Where do you think the plugin is doing that? Can you point me to the
relevant piece of source code?