mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 22:21:27 +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@
|
* @version Release: @package_version@
|
||||||
*/
|
*/
|
||||||
class SeedDMS_DbAuthentication extends SeedDMS_Authentication {
|
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
|
* Do Authentication
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
*
|
*
|
||||||
* @category DMS
|
* @category DMS
|
||||||
* @package SeedDMS
|
* @package SeedDMS
|
||||||
|
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||||
* @license GPL 2
|
* @license GPL 2
|
||||||
* @version @version@
|
* @version @version@
|
||||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
* @copyright 2010-2016 Uwe Steinmann
|
||||||
* @copyright Copyright (C) 2010-2016 Uwe Steinmann
|
|
||||||
* @version Release: @package_version@
|
* @version Release: @package_version@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -19,26 +19,10 @@ require_once "inc.ClassAuthentication.php";
|
||||||
* @category DMS
|
* @category DMS
|
||||||
* @package SeedDMS
|
* @package SeedDMS
|
||||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||||||
* @copyright Copyright (C) 2010-2016 Uwe Steinmann
|
* @copyright 2010-2016 Uwe Steinmann
|
||||||
* @version Release: @package_version@
|
* @version Release: @package_version@
|
||||||
*/
|
*/
|
||||||
class SeedDMS_LdapAuthentication extends SeedDMS_Authentication {
|
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
|
* 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
|
* authentication. If that succeeds the user is logged in. If the user doesn't
|
||||||
* exist in the database, it will be created.
|
* exist in the database, it will be created.
|
||||||
*
|
*
|
||||||
* @param string $username
|
* @param string $username name of user to authenticate
|
||||||
* @param string $password
|
* @param string $password password of user to authenticate
|
||||||
* @return object|boolean user object if authentication was successful otherwise false
|
* @return object|boolean user object if authentication was successful otherwise false
|
||||||
*/
|
*/
|
||||||
public function authenticate($username, $password) { /* {{{ */
|
public function authenticate($username, $password) { /* {{{ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user