コード例 #1
0
 public RBACServiceProvider(string mApplicationName, string mSessionFactoryConfigPath)
 {
     App           = new ApplicationsService(mSessionFactoryConfigPath).GetByName(mApplicationName);
     UserSrv       = new userService(mSessionFactoryConfigPath);
     RoleSrv       = new roleService(mSessionFactoryConfigPath);
     OperationSrv  = new operationService(mSessionFactoryConfigPath);
     ObjectSrv     = new objectService(mSessionFactoryConfigPath);
     PermissionSrv = new permissionService(mSessionFactoryConfigPath);
 }
コード例 #2
0
 public RBACServiceProvider(string mApplicationName, string mSessionFactoryConfigPath)
 {
     App = new ApplicationsService(mSessionFactoryConfigPath).GetByName(mApplicationName);
     UserSrv = new userService(mSessionFactoryConfigPath);
     RoleSrv = new roleService(mSessionFactoryConfigPath);
     OperationSrv = new operationService(mSessionFactoryConfigPath);
     ObjectSrv = new objectService(mSessionFactoryConfigPath);
     PermissionSrv = new permissionService(mSessionFactoryConfigPath);
 }
コード例 #3
0
 public RBACMembershipProvider(string mApplicationName, string mSessionFactoryConfigPath)
 {
     _SessionFactoryConfigPath = mSessionFactoryConfigPath;
     ApplicationName           = mApplicationName;
     UserSrv       = new userService(mSessionFactoryConfigPath);
     RoleSrv       = new roleService(mSessionFactoryConfigPath);
     OperationSrv  = new operationService(mSessionFactoryConfigPath);
     ObjectSrv     = new objectService(mSessionFactoryConfigPath);
     PermissionSrv = new permissionService(mSessionFactoryConfigPath);
 }
コード例 #4
0
 public RBACMembershipProvider(string mApplicationName, string mSessionFactoryConfigPath)
 {
     _SessionFactoryConfigPath = mSessionFactoryConfigPath;
     ApplicationName = mApplicationName;
     UserSrv = new userService(mSessionFactoryConfigPath);
     RoleSrv = new roleService(mSessionFactoryConfigPath);
     OperationSrv = new operationService(mSessionFactoryConfigPath);
     ObjectSrv = new objectService(mSessionFactoryConfigPath);
     PermissionSrv = new permissionService(mSessionFactoryConfigPath);
 }