Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Implements Dummy admin interface thingie.

  • Loading branch information...
commit fda6ff4a7c94ae480f678cc5c2e782a7e0a53e5f 1 parent c5c0868
Stefan de Konink authored
Showing with 33 additions and 0 deletions.
  1. +33 −0 admin/plugins/dummy.py
33 admin/plugins/dummy.py
View
@@ -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',))
Please sign in to comment.
Something went wrong with that request. Please try again.