To support better application security, this code will allow Airnotifier to authenticate as a user on a secured MongoDB database setup.
It's designed with fallbacks so that it will only attempt authentication when airnotifier.conf contains authentication details. Otherwise, it will continue without attempting authentication.
Sample/docs for config settings have been added to airnotifier.conf-sample.
Please let me know if there's anything you'd like me to amend.
Added to
airnotifier.py
,install.py
,upgrade.py
.To support better application security, this code will allow Airnotifier to authenticate as a user on a secured MongoDB database setup.
It's designed with fallbacks so that it will only attempt authentication when
airnotifier.conf
contains authentication details. Otherwise, it will continue without attempting authentication.Sample/docs for config settings have been added to
airnotifier.conf-sample
.Please let me know if there's anything you'd like me to amend.