AMRC-FactoryPlus / amrc-connectivity-stack

The AMRC Connectivity Stack (ACS) is an open-source implementation of the AMRC's Factory+ framework
https://factoryplus.app.amrc.co.uk
MIT License
13 stars 2 forks source link

[hivemq-krb] Correctly handle services being unavailable #182

Open amrc-benmorrow opened 1 year ago

amrc-benmorrow commented 1 year ago

If services are unavailable we can end up accepting an MQTT connection but not granting any rights. This is not helpful.

We should reject the connection with an appropriate server-not-ready disconnection code.

amrc-benmorrow commented 7 months ago

Currently for username/password auth we will fail authentication if services are unavailable; this is better than nothing, but not ideal. #179 is to extend this handling to GSSAPI auth.