File: ModulePam.py

package info (click to toggle)
cherokee 0.7.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,808 kB
  • ctags: 6,577
  • sloc: ansic: 45,071; python: 9,628; sh: 9,468; makefile: 1,639; xml: 61; perl: 32
file content (15 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from ModuleAuth import *

class ModulePam (ModuleAuthBase):
    PROPERTIES = ModuleAuthBase.PROPERTIES

    METHODS = ['basic']

    def __init__ (self, cfg, prefix, submit):
        ModuleAuthBase.__init__ (self, cfg, prefix, 'pam', submit)

    def _op_render (self):
        return ModuleAuthBase._op_render (self)

    def _op_apply_changes (self, uri, post):
        return ModuleAuthBase._op_apply_changes (self, uri, post)