Browse Source

secure框架增加basic认证功能

test
smallchill 4 years ago
parent
commit
4e453e347d
  1. 6
      doc/nacos/blade.yaml

6
doc/nacos/blade.yaml

@ -113,6 +113,12 @@ blade:
- method: POST - method: POST
pattern: /dashboard/submit pattern: /dashboard/submit
expression: "hasAnyRole('administrator', 'admin', 'user')" expression: "hasAnyRole('administrator', 'admin', 'user')"
#基础认证配置
basic:
- method: ALL
pattern: /dashboard/activities
username: "blade"
password: "blade"
#多终端认证配置 #多终端认证配置
client: client:
- client-id: sword - client-id: sword

Loading…
Cancel
Save