Skip to content

Files

Latest commit

a33418a · Sep 24, 2019

History

History

properties-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 24, 2019
Sep 20, 2019
Sep 20, 2019

annotation-demo

基于配置文件的权限配置

使用方法

secure:
  white-list: /login
  rule-list:
    - path: /class
      expression: "anon()"
    - path: /me
      method: GET
      expression: "hasLogin()"
    - path: /spring
      expression: "@test.hasPermission(#request,#response)"