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); }