001package usecase.auth; 002 003import java.lang.annotation.*; 004 005 006@Target({ElementType.METHOD, ElementType.TYPE}) 007@Retention(RetentionPolicy.RUNTIME) 008@Documented 009public @interface AuthorizationConstraints { 010 enum Types { 011 REQUIRE_AUTHENTICATION, DENY_BANNED_USERS, ADMINS_ONLY; 012 } 013 014 Types[] value(); 015}