Interface Summary Interface Description WithSecurityContextFactory<A extends java.lang.annotation.Annotation>
Class Summary Class Description ReactorContextTestExecutionListenerSets up the Reactor Context with the Authentication from the TestSecurityContextHolder and then clears the Reactor Context at the end of the tests. WithSecurityContextTestExecutionListenerA
TestExecutionListenerthat will find annotations that are annotated with
WithSecurityContexton a test method or at the class level.
Enum Summary Enum Description TestExecutionEventRepresents the events on the methods of
Annotation Types Summary Annotation Type Description WithAnonymousUserWhen used with
WithSecurityContextTestExecutionListenerthis annotation can be added to a test method to emulate running with an anonymous user.
WithMockUserWhen used with
WithSecurityContextTestExecutionListenerthis annotation can be added to a test method to emulate running with a mocked user.
WithSecurityContextAn annotation to determine what