Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install myproxywebservice

How to install MyProxyWebService

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install myproxywebservice
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.0
0.2.3Never BuiltWhy not?
0.2.0 Available View build log
Windows (64-bit)
Mac OS X (10.5+)
0.2.0
0.2.3Never BuiltWhy not?
0.2.0 Available View build log
Linux (32-bit)
0.2.2
0.2.3Never BuiltWhy not?
0.2.2 Available View build log
0.2.0 Available View build log
Linux (64-bit)
0.2.3 Available View build log
0.2.2 Available View build log
0.2.0 Available View build log
 
License
BSD - See LICENSE file in top-level directory
Lastest release
version 0.2.3 on Jan 9th, 2014

Provides a simple web service interface to MyProxyCA. MyProxy is a Service for managing and issuing PKI based credentials which is part of the Globus Toolkit. MyProxyWebService provides a HTTP based wrapper interface to MyProxy enabling HTTP based clients to connect to a MyProxy server and retrieve credentials.

The interface is implemented as a WSGI application which fronts a normal MyProxyCA server. myproxy-logon and myproxy-get-trustroots are expressed as web service calls. The WSGI application forwards the requests on to the MyProxy server over the usual MyProxy protocol. The web service interface is RESTful using GET and POST operations and the logon interface makes uses of HTTP Basic Auth to pass username and pass-phrase credentials. The service is hosted over HTTPS.

The unit tests include a test application served using paster. Client scripts are also available which need no specialised installation or applications, only openssl and wget or curl which are typically available on Linux/UNIX based systems.

Changes for version 0.2.3

Added example to tests to show SSL client authentication.

Changes for version 0.2.2

The package hierarchy has been re-organised:
  • myproxy.server.wsgi: contains middleware to make calls to a MyProxy service using the MyProxyClient package. It exposes this interface through the environ dict so that other middleware or an app can access and use it.

  • myproxy.ws: contains functionality specific to the web service interface:
    • myproxy.ws.client: contains all the functionality for web service clients to the MyProxy web service. This includes:
      • shell scripts (.sh suffix) for logon and get trustroots calls. These are implemented with openssl and curl. Alternative implementations are also provided which use wget (-wget.sh suffix) instead of curl. These scripts have also been tested against an independent Short-Lived Credential Service developed for the Contrail EU FP7 project.
      • myproxy.ws.client.MyProxyWSClient: is a Python client interface to the web service. The third party package ndg_httpclient is needed for this class but note that overall, it is set as an optional install.
    • myproxy.ws.server: contains the server side functionality - a set of WSGI middleware and an application to implement logon and get-trustroot web service calls.

Prerequisites

This has been developed and tested for Python 2.6 and 2.7.

Installation

Installation can be performed using easy_install or pip. Since this package is a wrapper to MyProxy, a MyProxy instance must be deployed that this service can call and use.

Configuration

Examples are contained in myproxy.ws.client.test and myproxy.server.test.

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.