org.noear.solon.extend.security.annotation.AuthRoles Maven / Gradle / Ivy
package org.noear.solon.extend.security.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 需要角色
*
* @author noear
* @since 1.3
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthRoles {
String[] value();
Logical logical() default Logical.AND;
String message() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy