1 package usecase.auth; 2 3 import javax.interceptor.InterceptorBinding; 4 import java.lang.annotation.Documented; 5 import java.lang.annotation.Inherited; 6 import java.lang.annotation.Retention; 7 import java.lang.annotation.Target; 8 9 import static java.lang.annotation.ElementType.METHOD; 10 import static java.lang.annotation.ElementType.TYPE; 11 import static java.lang.annotation.RetentionPolicy.RUNTIME; 12 13 @Inherited 14 @InterceptorBinding 15 @Retention(RUNTIME) 16 @Target({METHOD, TYPE}) 17 @Documented 18 public @interface AuthenticationRequired { 19 }