Skip to main content

New field for PloneFormGen to extract SSL data from the request

Project description

This product adds a new field to use with PloneFormGen, a user-configurable form creation product for Plone.

Install this egg to your zope instance, install it with quickinstaller and you will have another field to add to your PloneFormGen forms: ssl string field.

This field is able to extract the value to populate itself from the request, looking at the SSL variable configured when creating the field. In this way, you can use a digital certificate in your browser, and this field will use the values in the certificate to fill the form.

Requisites

To be able to extract the values of SSL variables, you will have to configure the SSL certificate in your webserver and configure it to ask for client verification.

If you are using Apache as webserver, you can use mod_mustap to configure Apache to pass SSL variables to Zope instead of using mod_headers to get the value of SSL variables. Zope doesn’t (or at least, I couldn’t) get the SSL variables from Apache, so this step is needed.

You can read the file APACHE.txt for samples of Apache configuration.

SSL Variables

The SSL variables you can get info from using this field, are the ones defined in Apache’s mod_ssl documentation.

Credits

Steve McMahon for PloneFormGen

License

See docs/LICENSE.txt

Changelog

0.1 - Unreleased

  • Initial release

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

collective.pfg.sslfield-0.2.tar.gz (22.7 kB view details)

Uploaded Source

File details

Details for the file collective.pfg.sslfield-0.2.tar.gz.

File metadata

File hashes

Hashes for collective.pfg.sslfield-0.2.tar.gz
Algorithm Hash digest
SHA256 e57cc0f0370b1e955781835c57a52c02cfcf8b84b3463dbde91b09a4e54cea30
MD5 4f1ac9be4ee6a5251cf1b6adfeef4623
BLAKE2b-256 2cdb7d02165300e17eb60a52e556531943366e7d7879791a1e693110808b6bfd

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