Class Passwd

Description

Passwd Base Class.

$Horde: passwd/lib/Passwd.php,v 1.12.2.5 2009/01/06 15:25:21 jan Exp $

Copyright 2000-2009 The Horde Project (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.

Located in /lib/Passwd.php (line 15)


	
			
Method Summary
 boolean isPreferredBackend (array $backend)
 void resetCredentials ( $old_password, string $new_password, string $username, string $oldpassword)
Methods
isPreferredBackend (line 30)

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.

  • return: True if this entry is "preferred".
boolean isPreferredBackend (array $backend)
  • array $backend: A complete backend entry from the $backends hash.
resetCredentials (line 59)

Change the Horde/IMP/MIMP cached credentials. Should be called only after a successful change of the password in the actual backend storage. This routine is the same for all backends and should not be implemented in the backend classes.

void resetCredentials ( $old_password, string $new_password, string $username, string $oldpassword)
  • string $username: The username we're changing.
  • string $oldpassword: The old user password.
  • string $new_password: The new user password to set.
  • $old_password

Documentation generated on Sun, 30 Jan 2011 05:36:08 +0000 by phpDocumentor 1.4.3