testbench
testbench copied to clipboard
Support mocking security without Spring
Provide a way to add authentication details to MockRequest for non spring projects.
At the moment authentication details can already be injected by providing a custom MockRequestCustomizer implementation class in lookupService() method.
It would be nice to activate the feature with an annotation similar to @WithMockUser, provided by spring security test framework.
Presence of this annotation at class