More refactoring. Implement an ACL file. Care about token timeouts.

This commit is contained in:
jimmy committed 2022-03-24 23:46:27 +00:00
1 parent deb1cef30f
commit 4f60efa87a
12 files changed
+236 -50

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
default:
can_read: true
can_write: false
jimmy:
can_read: true
can_write: true
+4 -2
View File
@@ -6,12 +6,14 @@ protocol websockets
allow_anonymous false
auth_plugin /home/jimmy/Develop/mosquitto-plugin/build/libj7s-plugin.so
auth_opt_issuer https://auth.jpace121.net/realms/jpace121-main
auth_opt_public_key /home/jimmy/Develop/mosquitto-plugin/test/key.pem
auth_opt_public_key /home/jimmy/Develop/mosquitto-plugin/examples/key.pem
auth_opt_acl_file /home/jimmy/Develop/mosquitto-plugin/examples/acl.yaml
listener 8081
protocol mqtt
allow_anonymous false
auth_plugin /home/jimmy/Develop/mosquitto-plugin/build/libj7s-plugin.so
auth_opt_issuer https://auth.jpace121.net/realms/jpace121-main
auth_opt_public_key /home/jimmy/Develop/mosquitto-plugin/test/key.pem
auth_opt_public_key /home/jimmy/Develop/mosquitto-plugin/examples/key.pem
auth_opt_acl_file /home/jimmy/Develop/mosquitto-plugin/examples/acl.yaml