Skip to content

Commit

Permalink
Package metadata cleanup and definition of all package dependencies.
Browse files Browse the repository at this point in the history
svn path=/plone.openid/trunk/; revision=37900
  • Loading branch information
hannosch committed Jul 16, 2010
1 parent 93d4d69 commit c303d9e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 62 deletions.
7 changes: 3 additions & 4 deletions docs/HISTORY.txt → CHANGES.txt
Expand Up @@ -4,6 +4,9 @@ Changelog
2.0 - unreleased
----------------

* Package metadata cleanup and definition of all package dependencies.
[hannosch]

* Relicense to BSD.
[Plone Foundation]

Expand All @@ -19,7 +22,6 @@ Changelog
http://dev.plone.org/plone/ticket/9178
[jvloothuis]


1.2 - August 19, 2008
---------------------

Expand Down Expand Up @@ -48,18 +50,15 @@ Changelog
* Do not enable OpenID support if python has no SSL support.
[wichert]


1.0.1 - November 9, 2007
------------------------

* Also accept https URLs as valid identifiers. This fixes
http://dev.plone.org/plone/ticket/7298
[wichert]


1.0 - August 15, 2007
---------------------

* First stable release
[wichert]

33 changes: 2 additions & 31 deletions README.txt
Expand Up @@ -3,6 +3,7 @@ OpenID PAS support

Introduction
------------

This product implements OpenID_ authentication support for Zope_ via a
Pluggable Authentication Service plugin.

Expand All @@ -15,38 +16,9 @@ who are unknown but have succesfully verified their identity.
.. _Zope: http://www.zope.org/
.. _OpenID: http://www.openidenabled.com/

Installing plone.openid
-----------------------

This package is made to be used as a normal python package within Zope 2. This
is only supported in Zope 2.10 or later. If you are using Zope 2.8 or Zope 2.9
you can install the `pythonproducts package`_ to add python package support to
your Zope.

.. _pythonproducts package: http://dev.serverzen.com/site/projects/pythonproducts

After installing this product in your python path it needs to be registered
in your Zope instance. This can be done by putting a
plone.openid-configure.zcml file in the etc/pakage-includes directory with
this content::

<include package="plone.openid" />

This plugin needs an active plone.session plugin to manage the login
sessions for authenticated users.

If you are using buildout_ you can also do this by adding a zcml statement
to the instance section of your buildout::

[instance]
zcml = plone.openid


.. _buildout: http://pypi.python.org/pypi/zc.buildout


Authentication flow
-------------------

The OpenID authentication flow goes like this:

- user submits a OpenID identity (which is a URL) to you site. This is
Expand All @@ -69,4 +41,3 @@ logged in when they visit another page. This can be done via a special
session management PAS plugin, for example `plone.session`_.

.. _plone.session: http://pypi.python.org/pypi/plone.session

14 changes: 0 additions & 14 deletions docs/INSTALL.txt

This file was deleted.

3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

23 changes: 13 additions & 10 deletions setup.py
Expand Up @@ -5,16 +5,19 @@
setup(name='plone.openid',
version=version,
description="OpenID authentication support for PAS",
long_description=open("README.txt").read() + \
open("docs/HISTORY.txt").read(),
long_description=open("README.txt").read() +
open("CHANGES.txt").read(),
classifiers=[
"Framework :: Zope2",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Topic :: System :: Systems Administration :: Authentication/Directory",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Zope2",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: System :: Systems Administration :: Authentication/Directory",
],
keywords='PAS openid authentication',
author='Wichert Akkerman - Plone Foundation',
author='Plone Foundation',
author_email='plone-developers@lists.sourceforge.net',
url='http://svn.plone.org/svn/plone/plone.openid',
license='BSD',
Expand All @@ -25,10 +28,10 @@
install_requires=[
'setuptools',
'python-openid >=2.2.1,<2.3dev',
'transaction',
'Acquisition',
'Products.PluggableAuthService',
'ZODB3',
# 'transaction',
# 'Acquisition',
# 'Zope2',
'Zope2',
],
)

0 comments on commit c303d9e

Please sign in to comment.