|
@@ -41,12 +41,10 @@ import org.springframework.test.web.servlet.MockMvc;
|
|
* @author Rob Winch
|
|
* @author Rob Winch
|
|
* @since 4.0
|
|
* @since 4.0
|
|
*/
|
|
*/
|
|
-@Order(WithSecurityContextTestExecutionListener.ORDER)
|
|
|
|
|
|
+@Order(1000)
|
|
public class WithSecurityContextTestExecutionListener extends
|
|
public class WithSecurityContextTestExecutionListener extends
|
|
AbstractTestExecutionListener {
|
|
AbstractTestExecutionListener {
|
|
|
|
|
|
- public static final int ORDER = 1000;
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Sets up the {@link SecurityContext} for each test method. First the
|
|
* Sets up the {@link SecurityContext} for each test method. First the
|
|
* specific method is inspected for a {@link WithSecurityContext} or {@link Annotation}
|
|
* specific method is inspected for a {@link WithSecurityContext} or {@link Annotation}
|