wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
class.AnonymousUser.php
Go to the documentation of this file.
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2014 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of any of the following licenses
7  * at your choice:
8  *
9  * - GNU Lesser General Public License (LGPL)
10  * http://www.gnu.org/licenses/lgpl.html
11  * - Eclipse Public License (EPL)
12  * http://www.eclipse.org/org/documents/epl-v10.php
13  *
14  * See the license.txt file distributed with this work for
15  * additional information.
16  *
17  * $Id: class.AnonymousUser.php 1462 2014-02-04 23:52:27Z iherwig $
18  */
19 require_once(BASE."wcmf/lib/security/class.AuthUser.php");
20 
21 /**
22  * @class AnonymousUser
23  * @ingroup Security
24  * @brief Anonymous User
25  *
26  * @author ingo herwig <ingo@wemove.com>
27  */
28 class AnonymousUser extends AuthUser
29 {
30  /**
31  * @see AuthUser::login()
32  */
33  function login($login, $password, $isPasswordEncrypted=false)
34  {
35  // do nothing
36  }
37  /**
38  * @see AuthUser::login()
39  */
40  function getLogin()
41  {
42  return "anonymous";
43  }
44 }
45 ?>
Anonymous User.
AuthUser provides a storage and methods for user data used for authentication/authorization purposes...
login($login, $password, $isPasswordEncrypted=false)