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

com.github.zj.dreamly.security.jwt.annotation.PreAuthorize Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta.6
Show newest version
package com.github.zj.dreamly.security.jwt.annotation;

import com.github.zj.dreamly.security.jwt.el.PreAuthorizeExpressionRoot;

import java.lang.annotation.*;

/**
 * 用于认证、鉴权的注解
 * @author 苍海之南
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface PreAuthorize {
    /**
     * @return 表达式
     * @see PreAuthorizeExpressionRoot
     */
    String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy