Skip to content

Commit

Permalink
Implements Dummy admin interface thingie.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinkie committed Oct 23, 2011
1 parent c5c0868 commit fda6ff4
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions admin/plugins/dummy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Cherokee-admin
#
# Authors:
# Alvaro Lopez Ortega <alvaro@alobbs.com>
#
# Copyright (C) 2011 Alvaro Lopez Ortega
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
#

import CTK
import Auth

HELPS = [('modules_validators_dummy', "Dummy")]

class Plugin_dummy (Auth.PluginAuth):
def __init__ (self, key, **kwargs):
Auth.PluginAuth.__init__ (self, key, **kwargs)
self.AddCommon (supported_methods=('basic',))

0 comments on commit fda6ff4

Please sign in to comment.