Annotation Interface SecurityTestExecutionListeners


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) @TestExecutionListeners(inheritListeners=false, listeners={WithSecurityContextTestExecutionListener.class,ReactorContextTestExecutionListener.class}) public @interface SecurityTestExecutionListeners
There are many times a user may want to use Spring Security's test support (i.e. WithMockUser) but have no need for any other TestExecutionListeners (i.e. no need to setup an ApplicationContext). This annotation is a meta annotation that only enables Spring Security's TestExecutionListeners.
Since:
4.0.2
See Also: