|
|
|
|
|
parseConfig(self,
prefix='',
**app_conf)
Parse dictionary of configuration items updating the relevant
attributes of this instance |
source code
|
|
|
basestring
|
|
|
|
|
|
tuple or list
|
|
|
|
|
|
basestring
|
|
|
|
|
|
bool
|
_pathMatch(self,
environ)
Apply a list of regular expression matching patterns to the contents
of environ['PATH_INFO'], if any match, return True. |
source code
|
|
|
tuple
|
|
|
iterable
|
__call__(self,
environ,
start_response)
Authenticate based HTTP header elements as specified by the HTTP
Basic Authentication spec. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
string
|
AUTHN_FUNC_ENV_KEYNAME = 'myproxy.server.wsgi.httpbasicauth.Ht...
key name for referencing Authentication callback function in environ.
|
|
string
|
AUTHN_FUNC_ENV_KEYNAME_OPTNAME = 'authnFuncEnvKeyName'
in file option name for setting the Authentication callback environ
key
|
|
|
RE_PATH_MATCH_LIST_OPTNAME = 'rePathMatchList'
|
|
string
|
REALM_OPTNAME = 'realm'
ini file option name for setting the HTTP Basic Auth authentication
realm
|
|
string
|
PARAM_PREFIX = 'http.auth.basic.'
prefix for ini file options
|
|
string
|
AUTHENTICATE_HDR_FIELDNAME = 'WWW-Authenticate'
HTTP header field name 'WWW-Authenticate'
|
|
string
|
AUTHENTICATE_HDR_FIELDNAME_LOWER = 'www-authenticate'
lowercase version of AUTHENTICATE_HDR_FIELDNAME class variable
included for convenience with string matching
|
|
string
|
AUTHN_SCHEME_HDR_FIELDNAME = 'Basic'
HTTP Authentication scheme identifier
|
|
|
AUTHN_SCHEME_HDR_FIELDNAME_LOWER = 'basic'
|
|
string
|
FIELD_SEP = ':'
field separator for username/password header string
|
|
string
|
AUTHZ_ENV_KEYNAME = 'HTTP_AUTHORIZATION'
WSGI environ key name for HTTP Basic Auth header content
|
|
string
|
AUTHN_HDR_FORMAT = '%s realm="%s"'
HTTP Basic Auth format string following RFC2617
|