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

org.nutz.integration.shiro.annotation.NutzRequiresPermissions Maven / Gradle / Ivy

There is a newer version: 1.r.69.v20220215
Show newest version
package org.nutz.integration.shiro.annotation;

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

import org.apache.shiro.authz.annotation.Logical;

@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface NutzRequiresPermissions {

	String[] value();

	Logical logical() default Logical.AND;

	/** 是否加入到数据库 */
	boolean enable() default false;

	/** 一级分类中的二级分类 */
	String name();

	/** 一级分类 */
	String tag();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy