liaodn commented on issue #216:
URL: https://github.com/apache/bifromq/issues/216#issuecomment-3706659076

   1. From the logs, it appears that the actual configuration in the 
standalone.yml file is authProviderFQN: 
"org.apache.bifromq.demo.plugin.DemoAuthProvider". Please check the actual 
running file.
   2. In the standalone.yml file, the configuration is authProviderFQN: 
"com.bifromq.plugin.authprovider.CustomAuthProvider", which is correct. As a 
friendly reminder, please check the following:
   Whether the line "com.bifromq.plugin.authprovider.CustomAuthProvider" exists 
 in the META-INF/extensions.idx file.
   Whether the META-INF/MANIFEST.MF file contains the following keys: 
Plugin-Class, Plugin-Id, and Plugin-Version. These are essential for a valid 
plugin.
   3. If you use "org.apache.bifromq.demo.plugin.DemoAuthProvider", you need to 
specify "-Dplugin.authprovider.url=http://x.x.x.x"; when starting the program. 
This way, when a device connects and requires authentication, HTTP requests to 
"http://x.x.x.x/auth"; and "http://x.x.x.x/check"; will be invoked.
   4. Please refer to points 1 and 2 above


-- 
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