summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TAuthorizationStoreRoleProvider.php
diff options
context:
space:
mode:
authorjrags <>2006-09-19 03:04:28 +0000
committerjrags <>2006-09-19 03:04:28 +0000
commit2c8fcb129c45faecd1a480c44f8a1708f768b91d (patch)
tree43c0ad8bb4c8f669ef242f278de9ffa12d20b93c /framework/Web/Security/TAuthorizationStoreRoleProvider.php
parentb767e82ec7bb04e747961e7ecee0e288fde719f0 (diff)
Inital Checkin of new membership and role providers. Currently still in development
Diffstat (limited to 'framework/Web/Security/TAuthorizationStoreRoleProvider.php')
-rw-r--r--framework/Web/Security/TAuthorizationStoreRoleProvider.php68
1 files changed, 68 insertions, 0 deletions
diff --git a/framework/Web/Security/TAuthorizationStoreRoleProvider.php b/framework/Web/Security/TAuthorizationStoreRoleProvider.php
new file mode 100644
index 00000000..d6919ae6
--- /dev/null
+++ b/framework/Web/Security/TAuthorizationStoreRoleProvider.php
@@ -0,0 +1,68 @@
+<?php
+/**
+ * TAuthorizationStoreRoleProvider class.
+ * Manages storage of role-membership information for an PRADO application in an authorization-manager policy store, in an XML file.
+ *
+ * @author Jason Ragsdale <jrags@jasrags.net>
+ * @version $Id: TAuthorizationStoreRoleProvider.php 1398 2006-09-08 19:31:03Z xue $
+ * @package System.Web.Security
+ * @since 3.1
+ */
+Prado::using('System.Web.Security.TRoleProvider');
+class TAuthorizationStoreRoleProvider extends TRoleProvider
+{
+ private $_ApplicationName;
+ public function __construct()
+ {
+
+ }
+ public function getApplicationName()
+ {
+ return $this->_ApplicationName;
+ }
+ public function setApplicationName($value)
+ {
+ $this->_ApplicationName = TPropertyValue::ensureString($value);
+ }
+ public function AddUsersToRoles($usernames,$roleNames)
+ {
+
+ }
+ public function CreateRole($roleName)
+ {
+
+ }
+ public function DeleteRole($roleName)
+ {
+
+ }
+ public function FineUsersInRole($roleName,$usernameToMatch)
+ {
+
+ }
+ public function GetAllRoles()
+ {
+
+ }
+ public function GetRolesForUser($username)
+ {
+
+ }
+ public function GetUsersIsRole($username,$roleName)
+ {
+
+ }
+ public function IsUserIsRole($username,$roleName)
+ {
+
+ }
+ public function RemoveUsersFromRoles($usernames,$roleNames)
+ {
+
+ }
+ public function RoleExists($roleName)
+ {
+
+ }
+}
+?> \ No newline at end of file