summaryrefslogtreecommitdiffstats
path: root/ipsilon
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-07-17 15:57:28 +0200
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-07-17 15:59:49 +0200
commit07ec779defce9b0fecf4da8c726d1b492c147626 (patch)
tree06e5eff5df04a43a1c66d37b89151e33fe149362 /ipsilon
parenta8114162c2449ba64d266f19943e7999287a69da (diff)
downloadipsilon-07ec779defce9b0fecf4da8c726d1b492c147626.tar.gz
ipsilon-07ec779defce9b0fecf4da8c726d1b492c147626.tar.xz
ipsilon-07ec779defce9b0fecf4da8c726d1b492c147626.zip
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>
Diffstat (limited to 'ipsilon')
-rw-r--r--ipsilon/providers/saml2idp.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipsilon/providers/saml2idp.py b/ipsilon/providers/saml2idp.py
index 5ac83dd..93dcbc6 100644
--- a/ipsilon/providers/saml2idp.py
+++ b/ipsilon/providers/saml2idp.py
@@ -346,7 +346,6 @@ Provides SAML 2.0 authentication infrastructure. """
return self.get_config_value('default allowed attributes')
def get_tree(self, site):
- self.idp = self.init_idp()
self.page = SAML2(site, self)
self.admin = Saml2AdminPage(site, self)
self.rest = Saml2RestBase(site, self)