3 ,ò¿W)ã@s¶dZddlmZddlmZddlmZddlmZddlmZddlm Z ddl m Z dd l m Z dd l m Z dd lmZd ZGd d„deƒZdd„Zddd„Zdd„Zdd„ZdS)z5zope.security support for the configuration handlers é)Ú providedBy)Ú ProxyBase)ÚgetProxiedObject)ÚLocatingTrustedAdapterFactory)ÚLocatingUntrustedAdapterFactory)ÚTrustedAdapterFactory)ÚChecker)Ú CheckerPublic)ÚInterfaceChecker)ÚProxyz zope.Publicc@s eZdZdZdd„ZeeƒZdS)ÚPermissionProxyÚ__Security_checker__cCs tt|ƒƒS)N)rr)Úself©rú/usr/lib/python3.6/security.pyÚ__providedBy__"szPermissionProxy.__providedBy__N)r )Ú__name__Ú __module__Ú __qualname__Ú __slots__rÚpropertyrrrrr sr cCsx| r| rdg}|tkrt}i}|r.factory)rr r r')r&r"rr'r)rr&rÚprotectedFactoryJs  r(cCsJ|tkr t}|s |dk r6|tk r6|r,t|ƒSt|ƒSn|rBt|ƒS|SdS)N)rr rrr)r'rZlocateZtrustedrrrÚsecurityAdapterFactoryYs r))NNN)Ú__doc__Zzope.interfacerZ zope.proxyrrZzope.security.adapterrrrZzope.security.checkerrr r Zzope.security.proxyr rr rr#r(r)rrrrÚs