Overview

Packages

  • None
  • Passwd

Classes

  • Passwd
  • Passwd_Driver
  • Passwd_Driver_Adsi
  • Passwd_Driver_Composite
  • Passwd_Driver_Expect
  • Passwd_Driver_Expectpecl
  • Passwd_Driver_Horde
  • Passwd_Driver_Http
  • Passwd_Driver_Kolab
  • Passwd_Driver_Ldap
  • Passwd_Driver_Pine
  • Passwd_Driver_Poppassd
  • Passwd_Driver_Procopen
  • Passwd_Driver_Pspasswd
  • Passwd_Driver_Servuftp
  • Passwd_Driver_Smbldap
  • Passwd_Driver_Smbpasswd
  • Passwd_Driver_Soap
  • Passwd_Driver_Sql
  • Passwd_Driver_Vmailmgr
  • Passwd_Driver_Vpopmail
  • Passwd_Exception
  • Passwd_Factory_Driver
  • Overview
  • Package
  • Class
  • Tree

Class Passwd

Passwd base class.

Copyright 2000-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.php.

Package: Passwd
Author: Mike Cochrane mike@graftonhall.co.nz
Located at Passwd.php
Methods summary
public static
# getBackends( )
public static boolean
# isPreferredBackend( array $backend )

Determines if the given backend is the "preferred" backend for this web server.

Determines if the given backend is the "preferred" backend for this web server.

This decision is based on the global 'SERVER_NAME' and 'HTTP_HOST' server variables and the contents of the 'preferred' field in the backend's definition. The 'preferred' field may take a single value or an array of multiple values.

Parameters

$backend
A complete backend entry from the $backends hash.

Returns

boolean
True if this entry is "preferred".
public static
# resetCredentials( string $old_password, string $new_password )

Changes the cached Horde credentials.

Changes the cached Horde credentials.

Should be called only after a successful change of the password in the actual backend storage.

Parameters

$old_password
$username The username we're changing.
$new_password
$oldpassword The old user password.
API documentation generated by ApiGen