blob: d6919ae6dcf8792b334df816b763b1b60670ace9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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)
{
}
}
?>
|