summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TSqlRoleProvider.php
diff options
context:
space:
mode:
authorjrags <>2006-09-21 00:57:53 +0000
committerjrags <>2006-09-21 00:57:53 +0000
commitb6e12bedc51b56cf0f1a5930e69a4c377cd3dfe5 (patch)
tree15931a9902b97d31fb4a4788634c222587c52632 /framework/Web/Security/TSqlRoleProvider.php
parent5da182335ceec1c8ad68047217a33375897f1c1d (diff)
Added providers demo, sqlmembershipprovider sqlroleprovider both load via modules now, but are not totaly functional yet. TLogin* controls created but not functional yet.
Diffstat (limited to 'framework/Web/Security/TSqlRoleProvider.php')
-rw-r--r--framework/Web/Security/TSqlRoleProvider.php61
1 files changed, 45 insertions, 16 deletions
diff --git a/framework/Web/Security/TSqlRoleProvider.php b/framework/Web/Security/TSqlRoleProvider.php
index 24f5e38d..7eadc265 100644
--- a/framework/Web/Security/TSqlRoleProvider.php
+++ b/framework/Web/Security/TSqlRoleProvider.php
@@ -11,31 +11,60 @@
Prado::using('System.Web.Security.TRoleProvider');
class TSqlRoleProvider extends TRoleProvider
{
- private $_ApplicationName;
- protected function __construct()
+ private $_connectionStringName;
+
+ public function getConnectionStringName()
+ {
+ return $this->_connectionStringName;
+ }
+ public function setConnectionStringName($value)
+ {
+ $this->_connectionStringName = TPropertyValue::ensureString($value);
+ }
+
+ public function __construct()
+ {
+
+ }
+ public function addUsersToRoles($usernames,$roleNames)
{
}
- public function getApplicationName()
+ public function createRole($roleName)
{
- return $this->_ApplicationName;
+
+ }
+ public function deleteRole($roleName)
+ {
+
+ }
+ public function findUsersInRole($roleName,$usernameToMatch)
+ {
+
}
- public function setApplicationName($value)
+ public function getAllRoles()
{
- $this->_ApplicationName = TPropertyValue::ensureString($value);
+
+ }
+ public function getRolesForUser($username)
+ {
+
+ }
+ public function getUsersIsRole($username,$roleName)
+ {
+
+ }
+ public function isUserIsRole($username,$roleName)
+ {
+
+ }
+ public function removeUsersFromRoles($usernames,$roleNames)
+ {
+
}
- public function AddUsersToRoles($usernames,$roleNames)
+ public function roleExists($roleName)
{
}
- 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