You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "Gulliver9527 (via GitHub)" <gi...@apache.org> on 2024/12/03 10:15:48 UTC

[I] 自定义Filter 无法 在配置文件中 定义是否启用 [servicecomb-java-chassis]

Gulliver9527 opened a new issue, #4630:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4630

   https://servicecomb.incubator.apache.org/references/java-chassis/zh_CN/config/general-config.html
   ![image](https://github.com/user-attachments/assets/1b9fde31-dec7-4b2a-85cd-0fdb942170c3)
   文档中写到:自定义Filter 可以在配置文件中 定义是否启用,**实测不行**。
   测试方法:
   利用官方给的demo-edge,将edge-service中的AuthHander禁用掉:在microservice.yaml配置如下:
   
   servicecomb:        
   &ensp; filter:       
   &ensp;&ensp;&ensp;AuthHandler:        
   &ensp;&ensp;&ensp; &ensp;edge.edge.enabled: false
   
   **以上配置无效!**
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 自定义Filter 无法 在配置文件中 定义是否启用 [servicecomb-java-chassis]

Posted by "Gulliver9527 (via GitHub)" <gi...@apache.org>.
Gulliver9527 commented on issue #4630:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4630#issuecomment-2514646995

   找到答案了,原来不是Filter的类名,而是看getName返回的名称。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 自定义Filter 无法 在配置文件中 定义是否启用 [servicecomb-java-chassis]

Posted by "Gulliver9527 (via GitHub)" <gi...@apache.org>.
Gulliver9527 closed issue #4630: 自定义Filter 无法 在配置文件中 定义是否启用
URL: https://github.com/apache/servicecomb-java-chassis/issues/4630


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org