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: endpoints:
web: web:
exposure: exposure:
include: metrics,jeecghttptrace include: metrics,httpexchanges,jeecghttptrace
spring: spring:
flyway: flyway:

View File

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

View File

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

View File

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