This is an automated email from the ASF dual-hosted git repository.

nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git


The following commit(s) were added to refs/heads/main by this push:
     new 5e8cfdc4 [Improvement] Enable so-token configuration (#341)
5e8cfdc4 is described below

commit 5e8cfdc419f3f14e38f4c65b599888770b8730a3
Author: s7monk <[email protected]>
AuthorDate: Tue Jun 11 18:50:26 2024 +0800

    [Improvement] Enable so-token configuration (#341)
---
 .../java/org/apache/paimon/web/server/configrue/SaTokenConfigure.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/SaTokenConfigure.java
 
b/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/SaTokenConfigure.java
index 8f53045b..575d530e 100644
--- 
a/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/SaTokenConfigure.java
+++ 
b/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/SaTokenConfigure.java
@@ -20,11 +20,12 @@ package org.apache.paimon.web.server.configrue;
 
 import cn.dev33.satoken.interceptor.SaInterceptor;
 import cn.dev33.satoken.stp.StpUtil;
+import org.springframework.context.annotation.Configuration;
 import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
 import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
 
 /** Sa-Token path config. */
-// @Configuration
+@Configuration
 public class SaTokenConfigure implements WebMvcConfigurer {
     @Override
     public void addInterceptors(InterceptorRegistry registry) {

Reply via email to