Exemplo n.º 1
0
 public PermissionController()
 {
     _iPMSService             = IoC.Resolve <IpermissionService>();
     _iServiceObj             = IoC.Resolve <IobjectService>();
     _iTypeRoleService        = IoC.Resolve <ITYPE_ROLEService>();
     _iroleService            = IoC.Resolve <IroleService>();
     _iLogSystemService       = IoC.Resolve <ILogSystemService>();
     _ITYPE_PERMISSIONService = IoC.Resolve <ITYPE_PERMISSIONService>();
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
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);
 }
 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);
 }
 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);
 }