IT-KIMI_SHI\SINOIT.KIMI
2018-06-01 64c40fb427bff513f575f11e4c1e7bd9a1bfe3e3
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
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE config PUBLIC "config" "config.dtd" >
 
<config>
    <!--系统参数-->
    <param name="EnvironmentName" value="CBI系统" client="T" remark="测试环境、生产环境" />
    <param name="AuthorizeActive" value="T" remark="权限验证是否启用" />
    <param name="AppName" value="cbi" client="T" remark="应用名称" />
    <param name="DataBaseType" value="MySql" remark="Oracle,SqlServer,MySql" />
    <param name="TimeOutPage" client="T" value="page/system/login.html" remark="超时页面" />
    <param name="SendSMS" value="F" remark="是否发送短信,T,F" />
    <param name="SuperVCode" value="0023" remark="超级验证码" />
    
    <param name="fileRepository" value="@{path_webinfo}/repository" remark="" />
 
    <!-- 2.不受权限控制的资源 -->
    <freeVisit>
        <!-- 2.1不受权限控制的资源类型 -->
        <type>.js</type>
        <type>.json</type>
        <type>.css</type>
        <type>.jpg</type>
        <type>.png</type>
        <type>.gif</type>
        <type>.bmp</type>
        <type>.jpeg</type>
        <type>.zip</type>
        <type>.map</type>
        <type>.html</type>
        
        <!-- 2.2不受权限控制的页面 -->
        <resource>*/timeout.html</resource>
        <resource>*/login.html</resource>
        <resource>*/neg_login.html</resource>
        <resource>*/index.html</resource>
        
        <!-- 2.3不受权限控制的函数调用 -->
        <call>user/login</call>
        <call>user/logout</call>
        <call>user/getvcade</call>
        
        <!-- 2.4其他框架控制的url -->
        <exclude>/service/</exclude>
    </freeVisit>
 
    <!-- 3.角色页面关系 -->
    <limitedVisit>
 
    </limitedVisit>    
 
    <!-- 4.虚路径配置 -->
    <virtualPaths>
        <virtualPath path="/" target="page/system/login.html" />
        <virtualPath path="root" target="/cbi/" />
        <virtualPath path="data" classname="foundation.persist.DataObject" />
        <virtualPath path="user" classname="foundation.user.User" />
        <virtualPath path="dictionary" classname="foundation.dictionary.DictionaryService" />
        <virtualPath path="file" classname="foundation.file.FileCenter" />
    </virtualPaths>
    
    <!-- 6.配置信息加载器列表 -->
    <configLoader>
        <loader name="datasource" classname="foundation.persist.DatasuorceLoader" active="T"/>
        <loader name="namedSQL" classname="foundation.persist.sql.NamedSQLLoader" active="T"/>
        <loader name="userVariant" classname="foundation.user.UserVariantProvider" active="T"/>
        <loader name="entityConfig" classname="foundation.data.config.EntityConfigContainer" active="F"/>
        <loader name="dictionary" classname="foundation.dictionary.DictionaryLoader" active="F"/>
        <loader name="fileIO" classname="foundation.file.mapping.FileIOLoader" active="F"/>
    </configLoader>
    
    <!-- 7.数据过滤权限 -->
    <dataFilter>
    </dataFilter>
</config>