[svn] / PluggableAuthService / trunk / PluggableAuthService.py Repository:
ViewVC logotype

Log of /PluggableAuthService/trunk/PluggableAuthService.py

Parent Directory Parent Directory


Sticky Revision:
(Current path doesn't exist after revision 81792)

Revision 78370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 27 02:14:45 2007 UTC (7 years ago) by rossp
File length: 45138 byte(s)
Diff to previous 76609
PAS._verifyUser should use exact_match to the enumerator

Otherwise a user with login 'foobar' might get returned by _verifyUser
for a query for login='foo' because the enumerator happened to return
'foobar' first in the results.

Revision 76609 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 11 14:27:03 2007 UTC (7 years, 2 months ago) by wichert
File length: 45164 byte(s)
Diff to previous 70144
Merge z3-events branch

Revision 70144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 13 11:45:05 2006 UTC (7 years, 11 months ago) by shh
File length: 45167 byte(s)
Diff to previous 69264
Merged r69484:70143 from shh-authentication-caching branch.

Features Added

  - Implemented authentication caching in _extractUserIds.

  - Ported standard user folder tests from the AccessControl test suite.

Bugs Fixed

  - ZODBUserManager: Already encrypted passwords were encrypted again in
    addUser and updateUserPassword.
    (http://www.zope.org/Collectors/Zope/1926)

  - Made sure the emergency user via HTTP basic auth always wins, no matter
    how borken the plugin landscape.

Revision 69264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 25 22:59:44 2006 UTC (8 years ago) by tseaver
File length: 44271 byte(s)
Diff to previous 65464
Created a "Configured PAS" entry in the ZMI add list.

  o Allows creating a PAS using base and extension GenericSetup profiles
    registered for IPluggableAuthService.
    
  o This entry should eventually replace the "stock" PAS entry, assuming that
    we make GenericSetup a "hard" dependency.

Added an "empty" GenericSetup profile.

  o creates a PAS containing only a plugin registry and a setup tool.

Repaired the "simple" GenericSetup profile to be useful, rather than
catastrophic, to apply.

  o This profile now creates and registers a set of ZODB-based
    user / group / role plugins, along with a basic auth helper.

Revision 65464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 25 19:58:27 2006 UTC (8 years, 5 months ago) by jens
File length: 41842 byte(s)
Diff to previous 40142
- Convert from using zLOG to using the Python logging module.
  (http://www.zope.org/Members/urbanape/PluggableAuthService/Collector/14)

Revision 40142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 15 21:10:43 2005 UTC (8 years, 9 months ago) by tseaver
File length: 42081 byte(s)
Diff to previous 39346
Added suppport for exporting / importing a PAS and its content via the GenericSetup file export framework (if present).


Revision 39346 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 14 14:20:14 2005 UTC (8 years, 10 months ago) by jens
File length: 41708 byte(s)
Diff to previous 39343
Migration reorg

Revision 39343 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 17 20:53:14 2005 UTC (9 years ago) by sidnei
Original Path: trunk/PluggableAuthService.py
File length: 41708 byte(s)
Diff to previous 39310
Merge changes from sidnei-challenge-protocol-chooser:

    - Added two new interfaces, IChallengeProtocolChooser and
      IRequestTypeSniffer. Those are used to select the 'authorization
      protocol' or 'challenger protocol' to be used for challenging
      according to the incoming request type.

    - Fixed a couple more places where Zope 2-style __implements__
      where being used to standardize on using classImplements.

    - Fixed fallback implementations of providedBy and
      implementedBy to always return a tuple.

    - Make sure challenge doesn't break if existing instances of the
      PluginRegistry don't yet have IChallengeProtocolChooser as a
      registered interface. (Would be nice to have some sort of
      migration for the PluginRegistry between PAS releases)

    - Don't assume that just because zope.interface can be imported
      that Five is present.

Revision 39310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 19:10:45 2005 UTC (9 years, 2 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 40274 byte(s)
Diff to previous 39309
applied Mark Hammond's patch

Revision 39309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 18:55:45 2005 UTC (9 years, 2 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 40289 byte(s)
Diff to previous 39298
merging zbir_fixing_ids_branch to the head

Revision 39298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 31 20:01:25 2005 UTC (9 years, 6 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 47813 byte(s)
Diff to previous 39295
We need to have a sane default, otherwise we get a cranky UnboundLocalError

Revision 39295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 28 16:12:00 2005 UTC (9 years, 6 months ago) by tseaver
Original Path: trunk/PluggableAuthService.py
File length: 47792 byte(s)
Diff to previous 39293

  - Make 'getUserById' pass the 'login' to '_findUser', so that
    the returned user object can answer 'getUserName' sanely.

Revision 39293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 27 19:00:23 2005 UTC (9 years, 6 months ago) by tseaver
Original Path: trunk/PluggableAuthService.py
File length: 47725 byte(s)
Diff to previous 39269
 - Merge 'zc-pas_fix_logout-branch', and release version 1.0.4.

Revision 39269 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 20 20:02:20 2004 UTC (9 years, 9 months ago) by jens
Original Path: trunk/PluggableAuthService.py
File length: 47617 byte(s)
Diff to previous 39268
- Add a publicly callable "logout" method on the PluggableAuthService
  instance that will call resetCredentials on all activated
  ICredentialsRest plugins, thus effecting a logout.

Revision 39268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 20 18:44:14 2004 UTC (9 years, 9 months ago) by jens
Original Path: trunk/PluggableAuthService.py
File length: 46622 byte(s)
Diff to previous 39264
- Enabled the usage of the CookieAuthHelper login screen functionality
  without actually using the CookieAuthHelper to maintain the
  credentials store in its own auth cookie by ensuring that only
  active updateCredentials plugins are informed about a successful
  login so they can store the credentials.

Revision 39264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 9 21:34:02 2004 UTC (9 years, 9 months ago) by tseaver
Original Path: trunk/PluggableAuthService.py
File length: 45782 byte(s)
Diff to previous 39263
 - Make over-noisy exception logging quieter.

Revision 39263 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 22:35:45 2004 UTC (9 years, 9 months ago) by jens
Original Path: trunk/PluggableAuthService.py
File length: 45782 byte(s)
Diff to previous 39257
- merge the jens-implement_caching_branch . For some details please
  see doc/caching.stx.

Revision 39257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 09:02:21 2004 UTC (9 years, 9 months ago) by chrism
Original Path: trunk/PluggableAuthService.py
File length: 45065 byte(s)
Diff to previous 39255
Don't complain in the case that we don't have the user record for a user id (this is common in the case that a user from a user folder "lower" in the tree is browsing a part of the tree in which a PAS is contained).

Revision 39255 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 08:13:31 2004 UTC (9 years, 9 months ago) by chrism
Original Path: trunk/PluggableAuthService.py
File length: 44916 byte(s)
Diff to previous 39249
Give group and user plugins the opportunity to provide their own titles.

Revision 39249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 6 12:09:26 2004 UTC (9 years, 9 months ago) by jens
Original Path: trunk/PluggableAuthService.py
File length: 44228 byte(s)
Diff to previous 39230
- reunite the ZMI stuff in one place (first noticed by Willi Langenberger)

Revision 39230 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 16 20:15:47 2004 UTC (9 years, 10 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 44252 byte(s)
Diff to previous 39203
Merging pre-1_0_3-zbir-challenge-branch to the head.

Revision 39203 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 7 16:44:30 2004 UTC (9 years, 10 months ago) by tseaver
Original Path: trunk/PluggableAuthService.py
File length: 43144 byte(s)
Diff to previous 39202
 - Remove spurious return.

Revision 39202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 7 16:43:01 2004 UTC (9 years, 10 months ago) by tseaver
Original Path: trunk/PluggableAuthService.py
File length: 43159 byte(s)
Diff to previous 39198
 - Single-line triple-quoted strings are evil.

Revision 39198 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 1 12:27:00 2004 UTC (9 years, 10 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 43102 byte(s)
Diff to previous 39196
Override _unauthorized, to get rid of the default WWW-Authenticate headers.

Revision 39196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 16:40:48 2004 UTC (9 years, 10 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 42950 byte(s)
Diff to previous 39188
Yet another attempt of ChallengeImplementation, that should cover all know usecases.

Revision 39188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 09:43:29 2004 UTC (9 years, 11 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 42291 byte(s)
Diff to previous 39185
Improvements in the challenge implementation, including removing infinite recurses in HTTPBasicAuth and Cokkie plugins.

Revision 39185 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 16:57:11 2004 UTC (9 years, 11 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 42180 byte(s)
Diff to previous 39183
Implementing challenge plugin support via __before_traverse_hook_

Revision 39183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 8 18:02:21 2004 UTC (9 years, 11 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 41932 byte(s)
Diff to previous 39179
our marker object '_noroles' can't be tested for equality across the
Python-C bridge, so we have to exclude it here so that each
implementation (Python or C) can use its appropriate default.

Revision 39179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 18:21:08 2004 UTC (9 years, 11 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 41570 byte(s)
Diff to previous 39176
  - _extractUserIds *must* mangle the id that is returned via
    authentication with the id of the authenticating plugin, since a
    single credentials extractor can attempt authentication against
    any number of authenticating mechanisms.

  - Implement the registration for what will be our hook-point for the
    IChallengePlugin plugins.

Revision 39176 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 31 17:50:56 2004 UTC (9 years, 11 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 40770 byte(s)
Diff to previous 39173
Removed this challenge implementation, in expectation of the before traverse implementation discussed on #zope-dev.

Revision 39173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 31 11:28:15 2004 UTC (9 years, 11 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 42187 byte(s)
Diff to previous 39172
The user id in extract user now calls _verifyUser to get the ID mangled by the enumeration plugin, instead of mangling it with the authentication ID, thereby allowing the authentication and enumeration plugins to be different plugins.

Revision 39172 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 31 09:27:45 2004 UTC (9 years, 11 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 42252 byte(s)
Diff to previous 39158
Implemented the challenge call, so challende plugins now gets called.
Only raise "Redirect", url supported as challenge, but anything else requires
a rewrite of BasicRequest...

Revision 39158 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 30 15:24:52 2004 UTC (9 years, 11 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 40800 byte(s)
Diff to previous 39152
  - fix the missing arrows bug

  - fix the broken assumption in searchPrincipals (that a plugin can
    do user enumeration or group enumeration, but not both)

  - PAS adds the 'Authenticated' Role, not any IRolesPlugin plugin.

Revision 39152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 30 13:22:41 2004 UTC (9 years, 11 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 40268 byte(s)
Diff to previous 39151
Adding the error logs exposed another bug: All authenticateCredentials() returned a single None when they could not authenticate, although all calls expected a tuple.

Revision 39151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 30 13:16:06 2004 UTC (9 years, 11 months ago) by regebro
Original Path: trunk/PluggableAuthService.py
File length: 40260 byte(s)
Diff to previous 39144
Merge from branch: Added warning logs for swallowed exceptions.

Revision 39144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 12 15:15:55 2004 UTC (10 years ago) by jens
Original Path: trunk/PluggableAuthService.py
File length: 38015 byte(s)
Diff to previous 39142
Sorry for the noise - switching to ZPL 2.1

Revision 39142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 2 19:11:29 2004 UTC (10 years ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 38014 byte(s)
Diff to previous 39134

PluggableAuthService.py

    - Use the emergency user's user name (the special users in
      AccessControl.User don't have user ids).

tests/test_PluggableAuthService.py

    - Test that PAS._findUser() will return the emergency user when presented
      with the emergency user's username.

Revision 39134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 28 19:58:53 2004 UTC (10 years, 3 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 38008 byte(s)
Diff to previous 39128
Added ZPL to all modules

Revision 39128 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Apr 28 19:19:03 2004 UTC (10 years, 3 months ago) by urbanape
Original Path: trunk/PluggableAuthService.py
File length: 37370 byte(s)
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

zope.org Infrastructure
ViewVC Help
Powered by ViewVC 1.0.3