summaryrefslogtreecommitdiff
path: root/repoze/bfg/security.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-09-06 03:58:46 +0000
committerChris McDonough <chrism@agendaless.com>2009-09-06 03:58:46 +0000
commit573184904e48fa5eb9c04e7d3d321183b3e96f6d (patch)
tree912d394af04622e9667da31b76ea9276878d700f /repoze/bfg/security.py
parentd66bfb5d1f1aef5cce4941b49740dbd136c95605 (diff)
downloadpyramid-573184904e48fa5eb9c04e7d3d321183b3e96f6d.tar.gz
pyramid-573184904e48fa5eb9c04e7d3d321183b3e96f6d.tar.bz2
pyramid-573184904e48fa5eb9c04e7d3d321183b3e96f6d.zip
Remove 0.9 deprecations.
Diffstat (limited to 'repoze/bfg/security.py')
-rw-r--r--repoze/bfg/security.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/repoze/bfg/security.py b/repoze/bfg/security.py
index bb33435a0..09f146ded 100644
--- a/repoze/bfg/security.py
+++ b/repoze/bfg/security.py
@@ -1,7 +1,6 @@
from zope.component import getSiteManager
from zope.component import queryUtility
from zope.component import providedBy
-from zope.deprecation import deprecated
from repoze.bfg.interfaces import IAuthenticationPolicy
from repoze.bfg.interfaces import IAuthorizationPolicy
@@ -233,27 +232,3 @@ class ACLAllowed(ACLPermitsResult):
class Unauthorized(Exception):
pass
-# BBB imports: these must come at the end of the file, as there's a
-# circular dependency between secpols and security
-from repoze.bfg.secpols import ACLSecurityPolicy
-from repoze.bfg.secpols import InheritingACLSecurityPolicy
-from repoze.bfg.secpols import RemoteUserACLSecurityPolicy
-from repoze.bfg.secpols import RemoteUserInheritingACLSecurityPolicy
-from repoze.bfg.secpols import WhoACLSecurityPolicy
-from repoze.bfg.secpols import WhoInheritingACLSecurityPolicy
-# /BBB imports
-
-for name in ('ACLSecurityPolicy',
- 'InheritingACLSecurityPolicy',
- 'RemoteUserACLSecurityPolicy',
- 'RemoteUserInheritingACLSecurityPolicy',
- 'WhoACLSecurityPolicy',
- 'WhoInheritingACLSecurityPolicy'):
- deprecated(name,
- ('repoze.bfg.security.%s should be imported from '
- 'repoze.bfg.secpols.%s as of BFG 0.9. Please consider '
- 'disusing any security policy in favor of separate '
- 'authorization and authentication policies; security '
- 'policies themselves are deprecated as of BFG 0.9; see the '
- 'Security chapter of the BFG docs for the new spellings.'%
- (name, name)))