summaryrefslogtreecommitdiffstats
path: root/ipsilon/providers/saml2idp.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-10-20 16:08:06 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-11-12 23:46:57 +0100
commit62b4656571be6e8671ada295047eac385d330f66 (patch)
tree3516bb0f3e4c10b250cabdc9f0990b01ac45b286 /ipsilon/providers/saml2idp.py
parent5e0b9747121eab67c5a3ee3bb42a677e35da7fd6 (diff)
downloadipsilon.git-62b4656571be6e8671ada295047eac385d330f66.tar.gz
ipsilon.git-62b4656571be6e8671ada295047eac385d330f66.tar.xz
ipsilon.git-62b4656571be6e8671ada295047eac385d330f66.zip
In configure we do not need to set_config()
All we care about in configure is to store the config in the db, so skip setting the config explicitly in the plugin object and go straight to the database. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/providers/saml2idp.py')
-rwxr-xr-xipsilon/providers/saml2idp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipsilon/providers/saml2idp.py b/ipsilon/providers/saml2idp.py
index 7508760..cb2c4a2 100755
--- a/ipsilon/providers/saml2idp.py
+++ b/ipsilon/providers/saml2idp.py
@@ -307,8 +307,7 @@ class Installer(object):
'idp certificate file': cert.cert,
'idp key file': cert.key,
'enabled': '1'}
- po.set_config(config)
- po.save_plugin_config(FACILITY)
+ po.save_plugin_config(FACILITY, config)
# Fixup permissions so only the ipsilon user can read these files
files.fix_user_dirs(path, opts['system_user'])