Only initialize the SAML IDP when actually enabled
authorPatrick Uiterwijk <puiterwijk@redhat.com>
Fri, 17 Jul 2015 13:57:28 +0000 (15:57 +0200)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Fri, 17 Jul 2015 13:59:49 +0000 (15:59 +0200)
commit07ec779defce9b0fecf4da8c726d1b492c147626
tree06e5eff5df04a43a1c66d37b89151e33fe149362
parenta8114162c2449ba64d266f19943e7999287a69da
Only initialize the SAML IDP when actually enabled

This has the same reasoning as the OpenID patch (commit
ac7c20cca81c3d23ee66f224030b316bdff2274a), with additionally
that it will otherwise error on finding the metadata.
(This is not critical though as it will retry loading and
succeed, this is just to make it not spit that error).

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Reviewed-by: Rob Crittenden <rcritten@redhat.com>
ipsilon/providers/saml2idp.py