summaryrefslogtreecommitdiff
path: root/demos/address-book/protected/application.xml
blob: 8b68fe8f13d25c01719a49451e1ab9e06633ed43 (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
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<application id="address-book" mode="Debug">

<paths>
	<using namespace="System.Data.*" />
	<using namespace="System.Security.*" />
	<using namespace="System.Data.ActiveRecord.*" />
	<using namespace="System.Web.Services.*" />
</paths>

<modules>
	<!-- database configuration for Active Record -->
	<module id="sqlite-db" class="TActiveRecordConfig">
		<database ConnectionString="sqlite:./protected/pages/sqlite.db" />
	</module>

	<!-- authentication and authorization -->
  	<module id="users" class="TUserManager" PasswordMode="Clear">
		<user name="demo" password="demo" />
      	<user name="admin" password="admin" />
     </module>
    <module id="auth" class="TAuthManager" UserManager="users" LoginPage="Login" />

</modules>

<services>
	<!-- soap entry point definition for address book service -->
	<service id="soap" class="TSoapService">
		<soap id="address-book"
			provider="Application.pages.AddressProvider"
			ClassMaps="AddressRecord" />
	</service>

</services>

</application>