Browse Source

增强secure安全框架,支持配置请求方法类型、请求路径、请求表达式匹配功能

test
smallchill 5 years ago
parent
commit
126cf71a48
  1. 7
      doc/nacos/blade.yaml

7
doc/nacos/blade.yaml

@ -91,6 +91,13 @@ blade:
secure:
skip-url:
- /test/**
auth:
- method: ALL
pattern: /weixin/**
expression: "hasAuth()"
- method: POST
pattern: /dashboard/submit
expression: "hasAnyRole('administrator', 'admin', 'user')"
client:
- client-id: sword
path-patterns:

Loading…
Cancel
Save