Currently a RubySaml::Settings object has some parameters which are normal settings, while there is a security method that returns a hash.
# Normal setting
settings.idp_slo_service_url = "http://example.com?field=value"
# security Hash
settings.security[:logout_requests_signed] = true
We should get rid of the security Hash entirely, and migrate them to just be normal settings. One reason is that it's hard to control deprecation warnings for a hash.
This could be done in a backward compatible fashion. settings.security could be made into a new "SettingsHash" object that extends Hash, but also sets the proper settings value. settings.security= could coerce any Hash you set to the special SettingsHash object.