summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Data/application.xml
blob: d0403a5071bdd2234818a905269326268c56dbd9 (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
30
31
<?xml version="1.0" encoding="utf-8"?>

<application>
  <paths>
    <alias id="Application" 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" class="System.Data.TSqliteCache" DbFile="Application.Data.Cache"/>
    -->
    <module id="session" class="THttpSession" />
  </modules>
  <services>
    <!-- page service, BasePath is required -->
    <service id="page" BasePath="Application.Pages" DefaultPage="home">
      <!-- modules configured and loaded when page service is requested -->
      <modules>
        <!-- user manager module -->
        <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
          <user name="demo" password="demo" />
        </module>
        <!-- auth manager module -->
        <module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
        <!--
        <module id="data" class="Application.Modules.DataModule" DbFile="Application.Data.Site" />
        -->
      </modules>
    </service>
  </services>
</application>