Commit Graph

2 Commits

Author SHA1 Message Date
Cody Cutrer 353bf2ec16 add first class support for the UK Federation
fixes CNVS-38446

refactor InCommon to be a common base class for both, and in our
special casing of InCommon refactor to iterate the children
classes

test plan:
 * add a SAML config with either InCommon or UK Federation special
   metadata URIs, and a valid entity ID for a school that's part of
   one or the other
 * the rest of the metadata should populate without error

Change-Id: Ie2d37e942cc35333ee16d1f0b3cbb2dc81f53767
Reviewed-on: https://gerrit.instructure.com/121421
QA-Review: Tucker McKnight <tmcknight@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
2017-08-08 20:26:52 +00:00
Cody Cutrer 7db873f5eb configure SAML via metadata URI
fixes CNVS-28890, CNVS-28891

including auto-refresh, and optimizations for InCommon

test plan:
 * use a metadata URI to configure a SAML provider;
   everything should populate
 * have your IdP change their metadata, then wait a day
   for the periodic job, or manually run
   AccountAuthorizationConfig::SAML::MetadataRefresher.refresh_providers
 * it should be updated automatically
 * set the URI to urn:mace:incommon, and fill in a entity id
   of a school in InCommon
 * it should populate automatically

Change-Id: Ie508483da2ffa81dce3b98dbd5ae5c0b9e2ac878
Reviewed-on: https://gerrit.instructure.com/76989
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
2016-05-27 18:31:08 +00:00