Package myproxy :: Package ws :: Package server :: Package wsgi :: Module app :: Class MyProxyApp
[hide private]

Class MyProxyApp

source code


HTTP interface to MyProxy logon and get trsut roots. This interfaces creates a MyProxy client instance with a HTTP Basic Auth based web service interface to pass username/passphrase for MyProxy logon calls.

This WSGI must be run over HTTPS to ensure confidentiality of username/passphrase credentials. PKI based verification of requests should be done out of band of this app e.g. in other filter middleware or Apache SSL configuration.

Instance Methods [hide private]
 
__call__(self, environ, start_response)
Catch case where request path doesn't match mount point for app
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
app_factory(cls, global_conf, prefix=PARAM_PREFIX, **app_conf)
Function following Paste app factory signature
source code
Class Variables [hide private]
  PARAM_PREFIX = 'myproxy.'
  LOGON_PARAM_PREFIX = 'logon.'
  GET_TRUSTROOTS_PARAM_PREFIX = 'getTrustRoots.'
  HTTPBASICAUTH_REALM_OPTNAME = 'httpbasicauth.realm'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

app_factory(cls, global_conf, prefix=PARAM_PREFIX, **app_conf)
Class Method

source code 

Function following Paste app factory signature

Parameters:
  • global_conf (dict) - PasteDeploy global configuration dictionary
  • prefix (basestring) - prefix for configuration items
  • app_conf (dict) - PasteDeploy application specific configuration dictionary