Exemplo n.º 1
0
        private static void InitPrivilegeAndAuthMap()
        {
            ModuleService ms = BeanManager.GetInstance <ModuleService>();

            AnonymPrivilege = ms.GetAnonymPrivileges();
            AnonymAuthMap   = ms.GetAnonymAuthMap();
            AllPrivilege    = ms.GetAllPrivileges(false);
        }