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

com.springframework.jwt.auth.annotation.RequiresPermissions Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
package com.springframework.jwt.auth.annotation;

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

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

    String[] value();

    /**
     * 多个权限的逻辑操作,是and还是or,默认是and
     * @return 权限策略
     */
    Logical logical() default Logical.AND;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy