|
@@ -188,6 +188,7 @@ For example, we might create an annotation named `@WithMockCustomUser` as shown
|
|
|
|
|
|
[source,java]
|
|
[source,java]
|
|
----
|
|
----
|
|
|
|
+@Retention(RetentionPolicy.RUNTIME)
|
|
@WithSecurityContext(factory = WithMockCustomUserSecurityContextFactory.class)
|
|
@WithSecurityContext(factory = WithMockCustomUserSecurityContextFactory.class)
|
|
public @interface WithMockCustomUser {
|
|
public @interface WithMockCustomUser {
|
|
|
|
|