blob: ef8280d61e0d6763febb3ed5ac50a184e27ae928 (
plain)
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
|
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<paths>
<alias id="Demo" path="." />
</paths>
<!-- modules configured and loaded for all services -->
<modules>
<!-- make sure the path "protected" is writable by web server process if you enable this cache
<module id="cache" type="System.Data.TSqliteCache" DbFile="Demo.cache"/>
-->
<module id="session" type="THttpSession" />
</modules>
<services>
<!-- page service, PageRootPath is required -->
<service id="page" PageRootPath="Demo.pages" DefaultPage="home">
<!-- modules configured and loaded when page service is requested -->
<modules>
<!-- user manager module -->
<module id="users" type="System.Security.TUserManager" PasswordMode="Clear">
<user name="demo" password="work" />
<user name="demo2" password="work2" />
</module>
<!-- auth manager module -->
<module id="auth" type="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
</modules>
</service>
</services>
</configuration>
|