summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-08-29 18:04:49 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-09-24 20:29:28 +0200
commit7483cfa79415a18f73c29cb7a19e3f91e7945334 (patch)
tree0c79ce73f727ec167b96734f81fb5070898cde42
parent5ab2d15611117e3d1b4cd263d2b4580af985f625 (diff)
downloadipsilon-7483cfa79415a18f73c29cb7a19e3f91e7945334.tar.gz
ipsilon-7483cfa79415a18f73c29cb7a19e3f91e7945334.tar.xz
ipsilon-7483cfa79415a18f73c29cb7a19e3f91e7945334.zip
Remove service name from the form plugin
When using the external apache modules for form based authentication, the pam service name is set in the apache config files and cannot be dynamically changed, do not offr it as a configuration option. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
-rwxr-xr-xipsilon/login/authform.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/ipsilon/login/authform.py b/ipsilon/login/authform.py
index 85b31bd..4c812db 100755
--- a/ipsilon/login/authform.py
+++ b/ipsilon/login/authform.py
@@ -50,15 +50,11 @@ class LoginManager(LoginManagerBase):
self.name = 'form'
self.path = 'form'
self.page = None
+ self.service_name = 'form'
self.description = """
Form based login Manager. Relies on mod_intercept_form_submit plugin for
actual authentication. """
self._options = {
- 'service name': [
- """ The name of the PAM service used to authenticate. """,
- 'string',
- 'remote'
- ],
'help text': [
""" The text shown to guide the user at login time. """,
'string',
@@ -77,10 +73,6 @@ Form based login Manager. Relies on mod_intercept_form_submit plugin for
}
@property
- def service_name(self):
- return self.get_config_value('service name')
-
- @property
def help_text(self):
return self.get_config_value('help text')