From 2f3aff95841bc3bb839b5b1d29966739fa999bbd Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Sun, 3 Aug 2025 10:37:08 +0800 Subject: [PATCH] =?UTF-8?q?yaml=E5=8A=A0=E5=85=A5security=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dm8.yml | 2 +- .../src/main/resources/application-docker.yml | 10 +++++++++- .../src/main/resources/application-oracle.yml | 14 ++++++++++---- .../src/main/resources/application-sqlserver.yml | 14 ++++++++++---- 4 files changed, 30 insertions(+), 10 deletions(-) diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml index 9c3c65caf..de707de50 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml @@ -22,7 +22,7 @@ management: endpoints: web: exposure: - include: metrics,jeecghttptrace + include: metrics,httpexchanges,jeecghttptrace spring: flyway: diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml index 4047bc9d1..43ab64739 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml @@ -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/** \ No newline at end of file diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml index d3c960d44..41954f3fc 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml @@ -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: ?? @@ -319,4 +317,12 @@ justauth: cache: type: default prefix: 'demo::' - timeout: 1h \ No newline at end of file + timeout: 1h + +security: + oauth2: + client: + ignore-urls: + - /test/jeecgDemo/demo3 + - /test/jeecgDemo/redisDemo/** + - /jmreport/bigscreen2/** \ No newline at end of file diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml index ef855a8a1..4229194eb 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml @@ -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: ?? @@ -314,4 +312,12 @@ justauth: cache: type: default prefix: 'demo::' - timeout: 1h \ No newline at end of file + timeout: 1h + +security: + oauth2: + client: + ignore-urls: + - /test/jeecgDemo/demo3 + - /test/jeecgDemo/redisDemo/** + - /jmreport/bigscreen2/** \ No newline at end of file