mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-26 17:29:12 +01:00
16 lines
510 B
Java
16 lines
510 B
Java
package sonia.scm.security;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* Use this annotation to mark REST resource methods that may be accessed <b>without</b> authentication.
|
|
* To mark all methods of a complete class you can annotate the class instead.
|
|
*/
|
|
@Target({ElementType.TYPE, ElementType.METHOD})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface AllowAnonymousAccess {
|
|
}
|