Skip to main content

MyProxy Web Service

Project description

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``.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MyProxyWebService-0.2.3.tar.gz (35.0 kB view details)

Uploaded Source

Built Distributions

MyProxyWebService-0.2.3-py2.7.egg (87.7 kB view details)

Uploaded Source

MyProxyWebService-0.2.3-py2.6.egg (87.9 kB view details)

Uploaded Source

File details

Details for the file MyProxyWebService-0.2.3.tar.gz.

File metadata

File hashes

Hashes for MyProxyWebService-0.2.3.tar.gz
Algorithm Hash digest
SHA256 12f58fea9fad71e42e63edd421236192ca2e395f79b2113d8e8e787dbf4259f6
MD5 5d4416aa4719d0e49fc621cfaffc0f5d
BLAKE2b-256 23e97d1530713d2c2756cbe1961a11549e6af3c80b8de721e4175b2a8e58e995

See more details on using hashes here.

File details

Details for the file MyProxyWebService-0.2.3-py2.7.egg.

File metadata

File hashes

Hashes for MyProxyWebService-0.2.3-py2.7.egg
Algorithm Hash digest
SHA256 64abd479747552717b75eeccf93ff85ebdf627559c5241b3f7c6be18f8c20c67
MD5 653cad2d5eb559739d7d745b64b8b96e
BLAKE2b-256 fcc6e3f897c3fba753d7cffba80965c9320b976e5b11f0318613b952a3d0b860

See more details on using hashes here.

File details

Details for the file MyProxyWebService-0.2.3-py2.6.egg.

File metadata

File hashes

Hashes for MyProxyWebService-0.2.3-py2.6.egg
Algorithm Hash digest
SHA256 dc797b50ed2e02c56de38db3eabcf96ab634eb5a7c96bce778033f3dde3ec1de
MD5 67e6b92ebe41fd9d3b36fdad3437138d
BLAKE2b-256 77df197603dccef341a766da26d22ae703ce742f6ee6efdbf1d5e0dfd8b3e5bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page