[geeklog-cvs] Auth_Enterprise/Common AEConstants.php,1.1.1.1,1.2

tony at geeklog.net tony at geeklog.net
Tue Oct 28 19:52:42 EST 2003


Update of /usr/cvs/geeklog/Auth_Enterprise/Common
In directory geeklog_prod:/tmp/cvs-serv1664/Common

Modified Files:
	AEConstants.php 
Log Message:
Authenticate method nearly complete using XML_RPC

Index: AEConstants.php
===================================================================
RCS file: /usr/cvs/geeklog/Auth_Enterprise/Common/AEConstants.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AEConstants.php	23 Oct 2003 14:17:34 -0000	1.1.1.1
--- AEConstants.php	29 Oct 2003 00:52:40 -0000	1.2
***************
*** 1,78 ****
  <?php
! 
! /**
! * Auth_Enterprise Server Common Constants File
! *
! * Constants shared by the Auth_Enterprise Client and Service
! *
! * This source file is subject to version 2.02 of the PHP license,
! * that is bundled with this package in the file LICENSE, and is
! * available at through the world-wide-web at
! * http://www.php.net/license/2_02.txt.
! * If you did not receive a copy of the PHP license and are unable to
! * obtain it through the world-wide-web, please send a note to
! * license at php.net so we can mail you a copy immediately.
! *
! * @author Tony Bibbs <tony at geeklog.net>
! * @copyright 2003
! * @version $Id$
! *
! */
! 
! /**
! * Denotes a successful action
! * @const SUCCESSFUL_RETURN
! */
  define('SUCCESSFUL_RETURN',0);
! /**
! * Denotes the user account is locked
! * @const ACCOUNT_LOCKED_EXCEPTION
! */
  define('ACCOUNT_LOCKED_EXCEPTION',2);
! /**
! * Dentoes the admin account used is locked
! * @const ADMIN_ACCOUNT_LOCKED_EXCEPTION
! */
  define('ADMIN_ACCOUNT_LOCKED_EXCEPTION',7);
! /**
! * Denotes the account used doesn't have sufficent rights
! * @const ADMIN_PERMISSION_EXCEPTION
! */
  define('ADMIN_PERMISSION_EXCEPTION',6);
! /**
! * Denotes a problem with changing the user's password
! * @const CHANGE_PASSWORD_EXCEPTION
! */
  define('CHANGE_PASSWORD_EXCEPTION',3);
! /**
! * Denotes the user's password has expired
! * @const PASSWORD_EXPIRED_EXCEPTION
! */
  define('PASSWORD_EXPIRED_EXCEPTION',9);
! /**
! * Denotes not enough data was passed to the server
! * @const INSUFFICIENT_DATA_EXCEPTION
! */
  define('INSUFFICIENT_DATA_EXCEPTION',4);
! /**
! * Denotes user didn't have the needed privilege
! * @const INVALID_PRIVILEGE_EXCEPTION
! */
  define('INVALID_PRIVILEGE_EXCEPTION',8);
! /**
! * Denotes the user account doesn't exists
! * @const INVALID_USER_EXCEPTION
! */
  define('INVALID_USER_EXCEPTION',1);
! /**
! * New password was rejected
! * @const INVALID_NEW_PASSWORD_EXCEPTION
! */
  define('INVALID_NEW_PASSWORD_EXCEPTION',5);
! /**
! * Some sort of unexpected error occured
! * @const UNEXPECTED_FATAL_EXCEPTION
! */
  define('UNEXPECTED_FATAL_EXCEPTION',100);
- 
  ?>
--- 1,76 ----
  <?php
! /**
! * Auth_Enterprise Server Common Constants File
! *
! * Constants shared by the Auth_Enterprise Client and Service
! *
! * This source file is subject to version 2.02 of the PHP license,
! * that is bundled with this package in the file LICENSE, and is
! * available at through the world-wide-web at
! * http://www.php.net/license/2_02.txt.
! * If you did not receive a copy of the PHP license and are unable to
! * obtain it through the world-wide-web, please send a note to
! * license at php.net so we can mail you a copy immediately.
! *
! * @author Tony Bibbs <tony at geeklog.net>
! * @copyright 2003
! * @version $Id$
! *
! */
! 
! /**
! * Denotes a successful action
! * @const SUCCESSFUL_RETURN
! */
  define('SUCCESSFUL_RETURN',0);
! /**
! * Denotes the user account is locked
! * @const ACCOUNT_LOCKED_EXCEPTION
! */
  define('ACCOUNT_LOCKED_EXCEPTION',2);
! /**
! * Dentoes the admin account used is locked
! * @const ADMIN_ACCOUNT_LOCKED_EXCEPTION
! */
  define('ADMIN_ACCOUNT_LOCKED_EXCEPTION',7);
! /**
! * Denotes the account used doesn't have sufficent rights
! * @const ADMIN_PERMISSION_EXCEPTION
! */
  define('ADMIN_PERMISSION_EXCEPTION',6);
! /**
! * Denotes a problem with changing the user's password
! * @const CHANGE_PASSWORD_EXCEPTION
! */
  define('CHANGE_PASSWORD_EXCEPTION',3);
! /**
! * Denotes the user's password has expired
! * @const PASSWORD_EXPIRED_EXCEPTION
! */
  define('PASSWORD_EXPIRED_EXCEPTION',9);
! /**
! * Denotes not enough data was passed to the server
! * @const INSUFFICIENT_DATA_EXCEPTION
! */
  define('INSUFFICIENT_DATA_EXCEPTION',4);
! /**
! * Denotes user didn't have the needed privilege
! * @const INVALID_PRIVILEGE_EXCEPTION
! */
  define('INVALID_PRIVILEGE_EXCEPTION',8);
! /**
! * Denotes the user account doesn't exists
! * @const INVALID_USER_EXCEPTION
! */
  define('INVALID_USER_EXCEPTION',1);
! /**
! * New password was rejected
! * @const INVALID_NEW_PASSWORD_EXCEPTION
! */
  define('INVALID_NEW_PASSWORD_EXCEPTION',5);
! /**
! * Some sort of unexpected error occured
! * @const UNEXPECTED_FATAL_EXCEPTION
! */
  define('UNEXPECTED_FATAL_EXCEPTION',100);
  ?>





More information about the geeklog-cvs mailing list