Metadata-Version: 1.1
Name: collective.usernamelogger
Version: 1.3
Summary: Log user names when using cookie authentication in Zope/Plone.
Home-page: http://pypi.python.org/pypi/collective.usernamelogger
Author: Andreas Zeidler
Author-email: az@zitc.de
License: BSD
Description: 
        
        Introduction
        ------------
        
        This package provides logging of user names in `Zope`_'s access log files
        when using cookie-based authentication as provided by PluggableAuthService_
        and `plone.session`_.
        
          .. _`Zope`: http://www.zope.org/
          .. _`PluggableAuthService`: http://pypi.python.org/pypi/Products.PluggableAuthService/
          .. _`plone.session`: http://pypi.python.org/pypi/plone.session/
        
        
        Installation
        ------------
        
        The easiest way to use this package is when working with installations
        based on `zc.buildout`_.  Here you can simply add the package to your "eggs"
        and "zcml" options, run buildout and restart your `Zope`_/`Plone`_ instance.
        
          .. _`zc.buildout`: http://pypi.python.org/pypi/zc.buildout/
          .. _`Plone`: http://www.plone.org/
        
        Alternatively you can use the following configuration file to extend your
        existing buildout::
        
          [buildout]
          extends = buildout.cfg
        
          [instance]
          eggs += collective.usernamelogger
          zcml += collective.usernamelogger
        
        After that you should see user names being logged in your access log file,
        typically at `<site-root>/var/log/instance-Z2.log`.
        
        
        Changelog
        =========
        
        
        1.3 (2015-06-12)
        ----------------
        
        - Don't crash if we get a CookieError.
          [vincentfretin]
        
        - Properly deal with doubly quoted __ac cookies (e.g. from PAS.CookieAuthHelper).
          [lgraf]
        
        - skip binascii.Error
          [kroman0]
        
        - Added getting real client ip
          [kroman0]
        
        
        1.2 (2011-08-16)
        ----------------
        
        - Added support for Plone 4.x session cookies.
          [buchi]
        
        - Handle auth cookies that aren't hex encoded (used in PluggableAuthService
          < 1.5).
          [buchi]
        
        - Add `z3c.autoinclude` entry point for automatic ZCML loading in Plone 3.3+.
          [witsch]
        
        
        1.1 (2010-01-07)
        ----------------
        
        - Unquote the cookie value before attempting to decode it.
          [vincentfretin]
        
        
        1.0 (2009-08-08)
        ----------------
        
        - Re-release unchanged 1.0a2 as final.
          [witsch]
        
        
        1.0a2 (2009-07-24)
        ------------------
        
        - Split session cookie from the right as the token can also contain spaces.
          [witsch]
        
        - Handle session cookies first as they can contain a colon, thereby breaking
          the hexadecimal decode.
          [witsch]
        
        
        1.0a1 (2009-07-23)
        ------------------
        
        - Initial release
          [witsch]
        
Keywords: zope plone logging pas
Platform: Any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Zope2
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Other Audience
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
