RestrictedTo.java
379 Bytes
package etunicorn;
import java.lang.annotation.*;
/**
* etunicorn-server
* Copyright © 2017 Le Club Info Polytech Lille
* Tous droits réservés
*/
@Target(value = {ElementType.METHOD, ElementType.PARAMETER})
@Retention(value = RetentionPolicy.RUNTIME)
@Documented
public @interface RestrictedTo {
String value() default "";
boolean authentifie() default true;
}