Merge lp:~roadmr/canonical-identity-provider/pass-custom-cert-to-django-saml2-idp into lp:canonical-identity-provider/release
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | no longer in the source branch. |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | lp:~roadmr/canonical-identity-provider/pass-custom-cert-to-django-saml2-idp |
Merge into: | lp:canonical-identity-provider/release |
Prerequisite: | lp:~roadmr/canonical-identity-provider/samlconfig-certificate-field |
Diff against target: |
279 lines (+153/-14) 8 files modified
config-manager.txt (+1/-1) src/identityprovider/tests/cert/custom-test-certificate.pem (+14/-0) src/ubuntu_sso_saml/processors.py (+18/-7) src/ubuntu_sso_saml/tests/helpers.py (+22/-2) src/ubuntu_sso_saml/tests/test_helpers.py (+27/-0) src/ubuntu_sso_saml/tests/test_processors.py (+33/-4) src/ubuntu_sso_saml/tests/test_utils.py (+22/-0) src/ubuntu_sso_saml/utils.py (+16/-0) |
To merge this branch: | bzr merge lp:~roadmr/canonical-identity-provider/pass-custom-cert-to-django-saml2-idp |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Kirkner (community) | Approve | ||
Review via email: mp+334984@code.launchpad.net |
Commit message
Use the SAML remote's configured certificate, if present.
This allows setting a custom certificate per RP. RPs for which this
field is empty fall back to the global certificate configured in settings.
All certificates must be generated from the global private key in settings,
which is a single setting for all RPs.
Description of the change
Use the SAML remote's configured certificate, if present.
This allows setting a custom certificate per RP. RPs for which this
field is empty fall back to the global certificate configured in settings.
All certificates must be generated from the global private key in settings,
which is a single setting for all RPs.
Note in addition to the prerequisite branch, this requires django-saml2-idp's changes from here:
https:/
So once that is landed, this branch will need to be updated to point to the django-saml2-idp revision where those changes land. Tests won't pass without that :)
See responses, and push with updates is coming up