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

<application id="controls" mode="Debug">
  <paths>
    <alias id="Demo" path="." />
    <alias id="Pages" path="pages" />
  </paths>
  <!-- modules configured and loaded for all services -->
  <modules>
  <!--
    <module id="cache" class="System.Data.TSqliteCache" DbFile="Demo.cache"/>
    -->
    <module id="session" class="THttpSession" />
  </modules>
  <services>
    <!-- page service, BasePath is required -->
    <service id="page" BasePath="Demo.pages" DefaultPage="home">
      <!-- modules configured and loaded when page service is requested -->
      <modules>
        <!-- user manager module -->
        <module id="users" class="System.Security.TUserManager" UserFile="Demo.userFile" PasswordMode="Clear">
          <user name="demo" password="work" />
          <user name="demo2" password="work2" />
        </module>
        <!-- auth manager module -->
        <module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
      </modules>
    </service>
  </services>
  <parameters>
    <parameter id="adminEmail">foo@foo.com</parameter>
  </parameters>
</application>