yaml加入security配置

springboot3_sas
JEECG 2025-08-03 10:37:08 +08:00
parent 1f74cb538f
commit 2f3aff9584
4 changed files with 30 additions and 10 deletions

View File

@ -22,7 +22,7 @@ management:
endpoints:
web:
exposure:
include: metrics,jeecghttptrace
include: metrics,httpexchanges,jeecghttptrace
spring:
flyway:

View File

@ -22,7 +22,7 @@ management:
endpoints:
web:
exposure:
include: metrics,jeecghttptrace
include: metrics,httpexchanges,jeecghttptrace
spring:
flyway:
@ -328,3 +328,11 @@ justauth:
type: default
prefix: 'demo::'
timeout: 1h
security:
oauth2:
client:
ignore-urls:
- /test/jeecgDemo/demo3
- /test/jeecgDemo/redisDemo/**
- /jmreport/bigscreen2/**

View File

@ -22,7 +22,7 @@ management:
endpoints:
web:
exposure:
include: metrics,jeecghttptrace
include: metrics,httpexchanges,jeecghttptrace
spring:
flyway:
@ -216,8 +216,6 @@ jeecg:
upload: /opt/upFiles
#webapp文件路径
webapp: /opt/webapp
shiro:
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/**
#阿里云oss存储和大鱼短信秘钥配置
oss:
accessKey: ??
@ -320,3 +318,11 @@ justauth:
type: default
prefix: 'demo::'
timeout: 1h
security:
oauth2:
client:
ignore-urls:
- /test/jeecgDemo/demo3
- /test/jeecgDemo/redisDemo/**
- /jmreport/bigscreen2/**

View File

@ -22,7 +22,7 @@ management:
endpoints:
web:
exposure:
include: metrics,jeecghttptrace
include: metrics,httpexchanges,jeecghttptrace
spring:
flyway:
@ -211,8 +211,6 @@ jeecg:
upload: /opt/upFiles
#webapp文件路径
webapp: /opt/webapp
shiro:
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/**
#阿里云oss存储和大鱼短信秘钥配置
oss:
accessKey: ??
@ -315,3 +313,11 @@ justauth:
type: default
prefix: 'demo::'
timeout: 1h
security:
oauth2:
client:
ignore-urls:
- /test/jeecgDemo/demo3
- /test/jeecgDemo/redisDemo/**
- /jmreport/bigscreen2/**