ProPeler
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel-ccs
/
txweb2
/
dav
/
Filename :
auth.pyc
back
Copy
� �t�ac @ s5 d d d d d g Z d d l m Z m Z d d l m Z d d l m Z m Z m Z d d l m Z d d l m Z m Z d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ e e � d S( t IPrincipalt DavRealmt IPrincipalCredentialst PrincipalCredentialst AuthenticationWrapperi����( t implementst Interface( t defer( t checkerst errort portal( t WrapperResource( t twisted_private_namespacet registerElement( t WebDAVTextElementc B s e Z d � Z d � Z RS( c C s� t t | � j | � | | _ t g | D] } | j | f ^ q) � | _ t g | D] } | j | f ^ qT � | _ | | _ | j | _ d S( s� Wrap the given resource and use the parameters to set up the request to allow anyone to challenge and handle authentication. @param resource: L{DAVResource} FIXME: This should get promoted to txweb2.auth @param portal: The cred portal @param wireEncryptedCredentialFactories: Sequence of credentialFactories that can be used to authenticate by resources in this tree over a wire-encrypted channel (SSL). @param wireUnencryptedCredentialFactories: Sequence of credentialFactories that can be used to authenticate by resources in this tree over a wire-unencrypted channel (non-SSL). @param loginInterfaces: More cred stuff N( t superR t __init__R t dictt schemet wireEncryptedCredentialFactoriest"