SEC-3152: Add @Retention to @WithMock documentation

This commit is contained in:
Kazuki Shimizu 2015-11-12 03:12:55 +09:00 committed by Rob Winch
parent 5c36c9f659
commit b7360a803d
1 changed files with 1 additions and 0 deletions

View File

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