jxlgzwh opened a new issue, #206:
URL: https://github.com/apache/bifromq/issues/206

   1、git clone 了 
   https://github.com/bifromqio/bifromq-plugin-anyauth
   
   2、将 pom.xml 的 中的版本修改为 3.3.5
   
<bifromq-plugin-auth-provider.version>3.3.5</bifromq-plugin-auth-provider.version>
   
   3、将打包的 auth-plugin-1.0.0 放在 bifromq-3.3.5\plugins 目录
   
   4、在 bifromq-3.3.5\plugins 目录 在,配置 standalone.yml 中
   authProviderFQN: "bifromq.auth.plugin.AuthProvider"
   
   
   5、logs\info.log 的启动 日志 
   
   `2025-12-15 23:26:02.682  INFO   [main] --- 
c.b.bifromq.starter.StandaloneStarter   [StandaloneStarter.java:643] 
BifroMQSysProp: inbox_store_recovery_timeout_millis=10000
   2025-12-15 23:26:02.740  INFO   [main] --- 
c.b.bifromq.starter.StandaloneStarter   [StandaloneStarter.java:648] 
Consolidated Config(YAML): 
   ---
   bootstrap: true
   **authProviderFQN: "bifromq.auth.plugin.AuthProvider"**
   resourceThrottlerFQN: null
   settingProviderFQN: null
   clusterConfig:
     env: "Test"
     host: "192.168.192.78"
     port: 0
     seedEndpoints: null
     clusterDomainName: null`
   
   6、采用 远程 debug 调试,发现 
   com.baidu.bifromq.plugin.authprovider.IAuthProvider   在 auth 方法中,当前 
authProvider 还是 DevOnlyAuthProvider
   配置的 authProviderFQN: "bifromq.auth.plugin.AuthProvider"  不生效 
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to