1 package com.atlassian.plugins.rest.common.security; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Retention; 5 import java.lang.annotation.RetentionPolicy; 6 import java.lang.annotation.Target; 7 8 /** 9 * <p>An annotation to tell that resources are accessible by anonymous users (i.e. not authenticated user).</p> 10 * <p>The default for all resources is to require authentication, those resources that don't require authentication 11 * should use this annotation.</p> 12 */ 13 @Target({ElementType.TYPE, ElementType.METHOD}) 14 @Retention(RetentionPolicy.RUNTIME) 15 public @interface AnonymousAllowed 16 { 17 }