Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: third_party/twisted_8_1/twisted/plugins/cred_anonymous.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/twisted_8_1/twisted/plugins/cred_anonymous.py
diff --git a/third_party/twisted_8_1/twisted/plugins/cred_anonymous.py b/third_party/twisted_8_1/twisted/plugins/cred_anonymous.py
deleted file mode 100644
index 8b4c00bea291f4a5a2e206894a0581fa2cd4d0e6..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/plugins/cred_anonymous.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# -*- test-case-name: twisted.test.test_strcred -*-
-#
-# Copyright (c) 2007-2008 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-"""
-Cred plugin for anonymous logins.
-"""
-
-from zope.interface import implements
-
-from twisted import plugin
-from twisted.cred.checkers import AllowAnonymousAccess
-from twisted.cred.strcred import ICheckerFactory
-from twisted.cred.credentials import IAnonymous
-
-
-anonymousCheckerFactoryHelp = """
-This allows anonymous authentication for servers that support it.
-"""
-
-
-class AnonymousCheckerFactory(object):
- """
- Generates checkers that will authenticate an anonymous request.
- """
- implements(ICheckerFactory, plugin.IPlugin)
- authType = 'anonymous'
- authHelp = anonymousCheckerFactoryHelp
- argStringFormat = 'No argstring required.'
- credentialInterfaces = (IAnonymous,)
-
-
- def generateChecker(self, argstring=''):
- return AllowAnonymousAccess()
-
-
-
-theAnonymousCheckerFactory = AnonymousCheckerFactory()
-
« no previous file with comments | « third_party/twisted_8_1/twisted/plugins/__init__.py ('k') | third_party/twisted_8_1/twisted/plugins/cred_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698