summaryrefslogtreecommitdiff
path: root/framework/Security
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Security')
-rw-r--r--framework/Security/IUserManager.php6
-rw-r--r--framework/Security/TAuthManager.php6
-rw-r--r--framework/Security/TAuthorizationRule.php7
-rw-r--r--framework/Security/TAuthorizationRuleCollection.php5
-rw-r--r--framework/Security/TDbUser.php5
-rw-r--r--framework/Security/TDbUserManager.php6
-rw-r--r--framework/Security/TSecurityManager.php5
-rw-r--r--framework/Security/TSecurityManagerValidationMode.php6
-rw-r--r--framework/Security/TUser.php6
-rw-r--r--framework/Security/TUserManager.php6
-rw-r--r--framework/Security/TUserManagerPasswordMode.php6
11 files changed, 42 insertions, 22 deletions
diff --git a/framework/Security/IUserManager.php b/framework/Security/IUserManager.php
index 0ca65929..3e23c2e7 100644
--- a/framework/Security/IUserManager.php
+++ b/framework/Security/IUserManager.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
+
/**
* IUserManager interface
*
@@ -17,7 +19,7 @@
* and {@link TUser}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0
*/
interface IUserManager
diff --git a/framework/Security/TAuthManager.php b/framework/Security/TAuthManager.php
index 2bf6a5b1..be83b695 100644
--- a/framework/Security/TAuthManager.php
+++ b/framework/Security/TAuthManager.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
+
/**
* Using IUserManager interface
*/
@@ -36,7 +38,7 @@ Prado::using('System.Security.IUserManager');
* <module id="users" class="System.Security.TUserManager" />
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0
*/
class TAuthManager extends TModule
diff --git a/framework/Security/TAuthorizationRule.php b/framework/Security/TAuthorizationRule.php
index 6da784c7..ce0835de 100644
--- a/framework/Security/TAuthorizationRule.php
+++ b/framework/Security/TAuthorizationRule.php
@@ -6,8 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+
+namespace Prado\Security;
+
/**
* TAuthorizationRule class
*
@@ -24,7 +27,7 @@
* IP rules are separated by comma ',' and can contain wild card in the rules (e.g. '192.132.23.33, 192.122.*.*')
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0
*/
class TAuthorizationRule extends TComponent
diff --git a/framework/Security/TAuthorizationRuleCollection.php b/framework/Security/TAuthorizationRuleCollection.php
index d83cb567..a2356a92 100644
--- a/framework/Security/TAuthorizationRuleCollection.php
+++ b/framework/Security/TAuthorizationRuleCollection.php
@@ -6,9 +6,10 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
/**
* TAuthorizationRuleCollection class.
@@ -16,7 +17,7 @@
* To check if a user is allowed, call {@link isUserAllowed}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0
*/
class TAuthorizationRuleCollection extends TList
diff --git a/framework/Security/TDbUser.php b/framework/Security/TDbUser.php
index 0939b41c..8b30e0f3 100644
--- a/framework/Security/TDbUser.php
+++ b/framework/Security/TDbUser.php
@@ -6,9 +6,10 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
/**
* TDbUser class
@@ -19,7 +20,7 @@
* - {@link createUser()}: creates a new user instance given the username
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.1.0
*/
abstract class TDbUser extends TUser
diff --git a/framework/Security/TDbUserManager.php b/framework/Security/TDbUserManager.php
index 88910b9a..4d04ece1 100644
--- a/framework/Security/TDbUserManager.php
+++ b/framework/Security/TDbUserManager.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
+
/**
* Using IUserManager interface
*/
@@ -43,7 +45,7 @@ Prado::using('System.Security.TUser');
* which specifies how to establish database connection to retrieve user information.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.1.0
*/
class TDbUserManager extends TModule implements IUserManager
diff --git a/framework/Security/TSecurityManager.php b/framework/Security/TSecurityManager.php
index 2f9ef464..57d2f70a 100644
--- a/framework/Security/TSecurityManager.php
+++ b/framework/Security/TSecurityManager.php
@@ -6,9 +6,10 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
/**
* TSecurityManager class
@@ -35,7 +36,7 @@
* Note, to use encryption, the PHP Mcrypt extension must be loaded.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0
*/
class TSecurityManager extends TModule
diff --git a/framework/Security/TSecurityManagerValidationMode.php b/framework/Security/TSecurityManagerValidationMode.php
index fe1086b5..bae56956 100644
--- a/framework/Security/TSecurityManagerValidationMode.php
+++ b/framework/Security/TSecurityManagerValidationMode.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
+
/**
* TSecurityManagerValidationMode class.
*
@@ -22,7 +24,7 @@
* - SHA1: an SHA1 hash is generated from the data and used for validation.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0.4
*/
class TSecurityManagerValidationMode extends TEnumerable
diff --git a/framework/Security/TUser.php b/framework/Security/TUser.php
index 8a229b1a..cf89e46f 100644
--- a/framework/Security/TUser.php
+++ b/framework/Security/TUser.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
+
/**
* Using IUserManager interface
*/
@@ -26,7 +28,7 @@ Prado::using('System.Security.IUserManager');
* TUser is meant to be used together with {@link IUserManager}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0
*/
class TUser extends TComponent implements IUser
diff --git a/framework/Security/TUserManager.php b/framework/Security/TUserManager.php
index f3cce876..361f0e5b 100644
--- a/framework/Security/TUserManager.php
+++ b/framework/Security/TUserManager.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
+
/**
* Using TUser class
*/
@@ -63,7 +65,7 @@ Prado::using('System.Security.TUser');
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carl Mathisen <carl@kamikazemedia.no>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0
*/
class TUserManager extends TModule implements IUserManager
diff --git a/framework/Security/TUserManagerPasswordMode.php b/framework/Security/TUserManagerPasswordMode.php
index 8737fb53..4a4493a2 100644
--- a/framework/Security/TUserManagerPasswordMode.php
+++ b/framework/Security/TUserManagerPasswordMode.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Security
+ * @package Prado\Security
*/
+namespace Prado\Security;
+
/**
* TUserManagerPasswordMode class.
* TUserManagerPasswordMode defines the enumerable type for the possible modes
@@ -20,7 +22,7 @@
* - SHA1: the password is recorded as the SHA1 hash value of the original password
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Security
+ * @package Prado\Security
* @since 3.0.4
*/
class TUserManagerPasswordMode extends TEnumerable