mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
SEC-3152: Add @Retention to @WithMock documentation
This commit is contained in:
parent
5c36c9f659
commit
b7360a803d
@ -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 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user