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

<application>
  <!-- modules configured and loaded for all services -->
  <modules>
    <!-- Remove this comment mark to enable caching
    <module id="cache" class="System.Data.TSqliteCache" />
    -->
    <module id="session" class="THttpSession" />
  </modules>
  <services>
    <!-- page service -->
    <service id="page" class="TPageService" BasePath="Application.Pages">
      <!-- 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" />
      </modules>
    </service>
  </services>
</application>