Permalink
Browse files

graceful handling of broken session engine

  • Loading branch information...
1 parent 01bc088 commit ec7f38a6a14455c67d5ac43f24e78077ae9ddc1a @mdornseif mdornseif committed Mar 28, 2010
Showing with 22 additions and 69 deletions.
  1. +1 −0 CHANGES
  2. +1 −1 MANIFEST.in
  3. +0 −63 README.markdown
  4. +17 −2 README.rst
  5. +1 −1 requirements.txt
  6. +2 −2 setup.py
View
@@ -1,3 +1,4 @@
+1.01p4 - graceful handling of broken session engine
1.01 - tranport QUERY_STRING through google Authentication, Logout at Google
1.0 - stand alone package
0.26 - comes with the googleauth suite
View
@@ -1 +1 @@
-include README.markdown
+include README.rst
View
@@ -1,63 +0,0 @@
-# Authentication agains Google Apps Domains for Django
-
-*googleappsauth* allows you to authenticate your [Django][1] users against an Google Apps[2] domain.
-This means you basically get a single sign-on solution, provided that all users of your django application
-also have Accounts in Google Apps for your Domain.
-
-[1]: http://www.djangoproject.com/
-[2]: http://www.google.com/apps/
-
-## Usage
-
-To use googleappsauth, configuration in `settings.py` should look like this:
-
- GOOGLE_APPS_DOMAIN = 'example.com'
- GOOGLE_APPS_CONSUMER_KEY = 'example.com'
- GOOGLE_APPS_CONSUMER_SECRET = '*sekret*'
- GOOGLE_OPENID_ENDPOINT = 'https://www.google.com/a/%s/o8/ud?be=o8' % GOOGLE_APPS_DOMAIN
- GOOGLE_API_SCOPE = 'http://www.google.com/m8/feeds/+http://docs.google.com/feeds/+http://spreadsheets.google.com/feeds/'
- # domain where your application is running
- GOOGLE_OPENID_REALM = 'http://*.hudora.biz/'
-
-You also have to tell googleappsauth where various views life:
-
- LOGIN_URL = '/login'
- LOGIN_REDIRECT_URL = '/admin'
- LOGOUT_URL = '/logout'
-
-To activate googleappsauth, set the appropriate Authentication backend and include a callback view.
-
- settings.py:
- AUTHENTICATION_BACKENDS = ('googleappsauth.backends.GoogleAuthBackend',)
-
- urls.py:
- (r'^callback_googleappsauth/', 'googleappsauth.views.callback'),
-
-
-Using a special middleware which is included int he package, you can block access to a compete site.
-
- MIDDLEWARE_CLASSES = (
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'googleappsauth.middleware.GoogleAuthMiddleware',
- )
-
-In addition you can set `AUTH_PROTECTED_AREAS` to authenticate only access to certain parts of a site, e.g.
-
- AUTH_PROTECTED_AREAS = '/admin'
-
-## Download
-
-Get it at the [Python Cheeseshop][3] or at [GitHub][4].
-
-[3]: http://pypi.python.org/pypi/googleappsauth/
-[4]: http://github.com/hudora/django-googleappsauth
-
-## See also
-
- * Tim Garthwaite: [Google Apps Auth Backend for Django][5]
- * http://github.com/flashingpumpkin/django-socialregistration/
- * http://github.com/uswaretech/Django-Socialauth/
-
-[5]: http://techblog.appirio.com/2008/10/google-apps-auth-backend-for-django.html
View
@@ -2,7 +2,8 @@
Authentication agains Google Apps Domains for Django
====================================================
-*googleappsauth* allows you to authenticate your `Django <http://www.djangoproject.com/>`_ users against an Google `Apps <http://www.google.com/apps/>`_ domain.
+*googleappsauth* allows you to authenticate your `Django <http://www.djangoproject.com/>`_ users
+against an Google `Apps <http://www.google.com/apps/>`_ domain.
This means you basically get a single sign-on solution, provided that all users of your django application
also have Accounts in Google Apps for your Domain.
@@ -36,7 +37,7 @@ To activate googleappsauth, set the appropriate Authentication backend and inclu
(r'^callback_googleappsauth/', 'googleappsauth.views.callback'),
-Using a special middleware which is included int he package, you can block access to a compete site.
+Using a special middleware which is included in the package, you can block access to a compete site.
::
MIDDLEWARE_CLASSES = (
@@ -50,3 +51,17 @@ In addition you can set `AUTH_PROTECTED_AREAS` to authenticate only access to ce
::
AUTH_PROTECTED_AREAS = '/admin'
+
+Download
+========
+
+Get it at the `Python Cheeseshop <http://pypi.python.org/pypi/googleappsauth/>`_ or at
+`GitHub <http://github.com/hudora/django-googleappsauth>`_.
+
+See also
+========
+
+ * Tim Garthwaite: `Google Apps Auth Backend for Django <http://techblog.appirio.com/2008/10/google-apps-auth-backend-for-django.html>`_
+ * http://github.com/flashingpumpkin/django-socialregistration/
+ * http://github.com/uswaretech/Django-Socialauth/
+
View
@@ -1,2 +1,2 @@
setuptools
-Django>-1.0.2-final
+Django>=1.0.2-final
View
@@ -4,9 +4,9 @@
setup(name='googleappsauth',
maintainer='Maximillian Dornseif',
maintainer_email='md@hudora.de',
- version='1.01p3',
+ version='1.01p4',
description='googleappsauth authenticates Django Users against a Google Apps Domain',
- long_description=codecs.open('README.markdown', "r", "utf-8").read(),
+ long_description=codecs.open('README.rst', "r", "utf-8").read(),
license='BSD',
url='http://github.com/hudora/django-googleappsauth',
classifiers=['Intended Audience :: Developers',

0 comments on commit ec7f38a

Please sign in to comment.