~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge

Viewing all changes in revision 1590.

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Daniel Manrique
  • Date: 2018-01-10 14:28:31 UTC
  • mfrom: (1586.4.3 metadata-with-custom-cert)
  • Revision ID: otto-copilot@canonical.com-20180110142831-801520sebgrvl1k0
Add SP-specific metadata view.

This allows URLs such as /+saml/metadata/4. If the SP with id 4 has a
custom certificate, it will be used in the metadata. If not, valid metadata
with the default global cert is shown. If no SP with the given primary key exists,
a 404 is raised.

This avoids having to tell SPs "use this metadata URL but this certificate
because the one in the metadata is bad".

The intended flow would be:

1- create the SPConfig, even if with partial config.
2- Add a custom cert
3- We can now give the SP's support people a metadata link with nice certificate.

Merged from https://code.launchpad.net/~roadmr/canonical-identity-provider/metadata-with-custom-cert/+merge/334994

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: