mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
remove constructor, because it was the same like in the parent class
This commit is contained in:
parent
63ae861257
commit
8e7d2547b4
|
@ -23,22 +23,6 @@ require_once "inc.ClassAuthentication.php";
|
|||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_DbAuthentication extends SeedDMS_Authentication {
|
||||
/**
|
||||
* @var object $dms object of dms
|
||||
* @access protected
|
||||
*/
|
||||
private $dms;
|
||||
|
||||
/**
|
||||
* @var object $settings SeedDMS Settings
|
||||
* @access protected
|
||||
*/
|
||||
private $settings;
|
||||
|
||||
function __construct($dms, $settings) { /* {{{ */
|
||||
$this->dms = $dms;
|
||||
$this->settings = $settings;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Do Authentication
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
/**
|
||||
* Implementation of user authentication
|
||||
*
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @license GPL 2
|
||||
* @version @version@
|
||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @copyright Copyright (C) 2010-2016 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @license GPL 2
|
||||
* @version @version@
|
||||
* @copyright 2010-2016 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
|
||||
require_once "inc.ClassAuthentication.php";
|
||||
|
@ -16,29 +16,13 @@ require_once "inc.ClassAuthentication.php";
|
|||
/**
|
||||
* Abstract class to authenticate user against ldap server
|
||||
*
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @copyright Copyright (C) 2010-2016 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
* @category DMS
|
||||
* @package SeedDMS
|
||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||
* @copyright 2010-2016 Uwe Steinmann
|
||||
* @version Release: @package_version@
|
||||
*/
|
||||
class SeedDMS_LdapAuthentication extends SeedDMS_Authentication {
|
||||
/**
|
||||
* @var object $dms object of dms
|
||||
* @access protected
|
||||
*/
|
||||
private $dms;
|
||||
|
||||
/**
|
||||
* @var object $settings SeedDMS Settings
|
||||
* @access protected
|
||||
*/
|
||||
private $settings;
|
||||
|
||||
function __construct($dms, $settings) { /* {{{ */
|
||||
$this->dms = $dms;
|
||||
$this->settings = $settings;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Do ldap authentication
|
||||
|
@ -53,8 +37,8 @@ class SeedDMS_LdapAuthentication extends SeedDMS_Authentication {
|
|||
* authentication. If that succeeds the user is logged in. If the user doesn't
|
||||
* exist in the database, it will be created.
|
||||
*
|
||||
* @param string $username
|
||||
* @param string $password
|
||||
* @param string $username name of user to authenticate
|
||||
* @param string $password password of user to authenticate
|
||||
* @return object|boolean user object if authentication was successful otherwise false
|
||||
*/
|
||||
public function authenticate($username, $password) { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user