[Tickets #11025] Re: Horde_Auth out of date

bugs at horde.org bugs at horde.org
Sat Feb 25 16:38:40 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11025
------------------------------------------------------------------------------
  Ticket             | 11025
  Updated By         | arjen+horde at de-korte.org
  Summary            | Horde_Auth out of date
  Queue              | Horde Base
  Version            | 4.0.13
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Ralf Lang (B1 Systems GmbH)
------------------------------------------------------------------------------


arjen+horde at de-korte.org (2012-02-25 16:38) wrote:

>> The REASON_LOCKED constant is available in the development version of
>> Horde_Auth, but hasn't made it into the latest stable version (1.4.8)
>> on pear.
> That's not true, REASON_LOCKED *is* in Horde_Auth 1.4.8.
> We still mustn't rely on it though.

Not in the version I have installed:

# pear info horde/Horde_Auth
About pear.horde.org/Horde_Auth-1.4.8
=====================================
Release Type          PEAR-style PHP-based Package
Name                  Horde_Auth (extends Auth)
Channel               pear.horde.org
Summary               Horde Authentication API
Description           The Horde_Auth package provides a common
                       interface into the various backends for the
                       Horde authentication system.
Maintainers           Chuck Hagenbuch <chuck at horde.org> (lead)
                       Jan Schneider <jan at horde.org> (lead)
                       Michael Slusarz <slusarz at horde.org> (lead)
Release Date          2012-01-31 11:23:54
Release Version       1.4.8 (stable)

[...]

# cat -n /usr/share/php5/PEAR/Horde/Auth.php

      1  <?php
      2  /**
      3   * The Horde_Auth:: class provides a common abstracted  
interface for various
      4   * authentication backends.  It also provides some useful
      5   * authentication-related utilities.
      6   *
      7   * Copyright 1999-2011 The Horde Project (http://www.horde.org/)
      8   *
      9   * See the enclosed file COPYING for license information  
(LGPL). If you did
     10   * not receive this file, see  
http://opensource.org/licenses/lgpl-2.1.php
     11   *
     12   * @author   Chuck Hagenbuch <chuck at horde.org>
     13   * @author   Michael Slusarz <slusarz at horde.org>
     14   * @category Horde
     15   * @license  http://opensource.org/licenses/lgpl-2.1.php LGPL
     16   * @package  Auth
     17   */
     18  class Horde_Auth
     19  {
     20      /**
     21       * Authentication failure reasons.
     22       *
     23       * <pre>
     24       * REASON_BADLOGIN - Bad username and/or password
     25       * REASON_FAILED - Login failed
     26       * REASON_EXPIRED - Password has expired
     27       * REASON_LOGOUT - Logout due to user request
     28       * REASON_MESSAGE - Logout with custom message
     29       * REASON_SESSION - Logout due to session expiration
     30       * </pre>
     31       */
     32      const REASON_BADLOGIN = 1;
     33      const REASON_FAILED = 2;
     34      const REASON_EXPIRED = 3;
     35      const REASON_LOGOUT = 4;
     36      const REASON_MESSAGE = 5;
     37      const REASON_SESSION = 6;
     38






More information about the bugs mailing list