diff options
author | Davanum Srinivas <davanum@gmail.com> | 2017-08-08 08:37:25 -0400 |
---|---|---|
committer | Davanum Srinivas <davanum@gmail.com> | 2017-09-27 13:08:26 -0400 |
commit | 89d226916c6165cbc4ef116c7ad4ce602f010181 (patch) | |
tree | 59f9b53841bbdfa33ea6819baa09848cf2c0cc9c /setup.cfg | |
parent | 70ba1beb3e3c93fafc147633360df838155a82a9 (diff) | |
download | oslo-policy-89d226916c6165cbc4ef116c7ad4ce602f010181.tar.gz |
External Policy hook should support SSL
We have a HttpCheck that can check rules by calling a
remote server. However currently it just supports "http://"
and not "https://". In this patch, we add a HttpsCheck so
we can support "https://" urls as well. In addition to
ensure security, we add options to:
* Specify a ca cert to validate the server
* Specify cert/key to allow server to validate the client
Another quirk was that currently the payload is being
sent using 'application/x-www-form-urlencoded' as the
content-type. We add another option to send the payload
as 'application/json'. Add this same support to the
HttpCheck as well.
Change-Id: Ic9c5249555fb45010a92432a504c84ad3fbb9ea1
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions