All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sklsft.commons.rest.security.annotations.AccessControl Maven / Gradle / Ivy

package org.sklsft.commons.rest.security.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.sklsft.commons.rest.security.aspect.AccessControlAspect;
import org.sklsft.commons.rest.security.validation.AccessControlType;


/**
 * Used to indicates a rest controller method which {@link AccessControlType} must be considered by the {@link AccessControlAspect}
 * 
 * @author Nicolas Thibault
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = ElementType.METHOD)
public @interface AccessControl {

	AccessControlType value() default AccessControlType.PRIVATE;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy