From 7ad204c13898245cdea5acfa90be83e767276994 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 4 Feb 2015 10:58:14 +0100 Subject: Add uninstallation support. As part of this, made all plugins use a Installer baseclass. https://fedorahosted.org/ipsilon/ticket/38 Signed-off-by: Patrick Uiterwijk Reviewed-by: Rob Crittenden --- ipsilon/providers/saml2idp.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ipsilon/providers/saml2idp.py') diff --git a/ipsilon/providers/saml2idp.py b/ipsilon/providers/saml2idp.py index 9fa2fd6..89e1346 100644 --- a/ipsilon/providers/saml2idp.py +++ b/ipsilon/providers/saml2idp.py @@ -15,7 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from ipsilon.providers.common import ProviderBase, ProviderPageBase +from ipsilon.providers.common import ProviderBase, ProviderPageBase, \ + ProviderInstaller from ipsilon.providers.saml2.auth import AuthenticateRequest from ipsilon.providers.saml2.logout import LogoutRequest from ipsilon.providers.saml2.admin import Saml2AdminPage @@ -330,11 +331,11 @@ class IdpMetadataGenerator(object): return self.meta.output(path) -class Installer(object): +class Installer(ProviderInstaller): def __init__(self, *pargs): + super(Installer, self).__init__() self.name = 'saml2' - self.ptype = 'provider' self.pargs = pargs def install_args(self, group): -- cgit