diff --git a/src/main/java/org/example/Generated.java b/src/main/java/org/example/Generated.java new file mode 100644 index 0000000..3ca4c42 --- /dev/null +++ b/src/main/java/org/example/Generated.java @@ -0,0 +1,10 @@ +package org.example; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.FIELD, ElementType.TYPE}) +@Retention(RetentionPolicy.CLASS) +public @interface Generated {} diff --git a/src/main/java/org/example/SecurityConfig.java b/src/main/java/org/example/SecurityConfig.java index 3d06d88..6ae4e81 100644 --- a/src/main/java/org/example/SecurityConfig.java +++ b/src/main/java/org/example/SecurityConfig.java @@ -12,6 +12,7 @@ import static org.springframework.security.config.Customizer.withDefaults; +@Generated @Configuration public class SecurityConfig {