summaryrefslogtreecommitdiff
path: root/demos/address-book/protected/application.xml
diff options
context:
space:
mode:
authorwei <>2007-01-18 11:12:51 +0000
committerwei <>2007-01-18 11:12:51 +0000
commit645c9ef3729a604df17ecdf74258f92ef73dd4f5 (patch)
tree60b975893347259308c13eb87ae67f0c4c137835 /demos/address-book/protected/application.xml
parent53c401bf07d89fad12c69f482d48126661efab88 (diff)
update address-book demo
Diffstat (limited to 'demos/address-book/protected/application.xml')
-rw-r--r--demos/address-book/protected/application.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/demos/address-book/protected/application.xml b/demos/address-book/protected/application.xml
index 8e87be8c..8b68fe8f 100644
--- a/demos/address-book/protected/application.xml
+++ b/demos/address-book/protected/application.xml
@@ -3,8 +3,9 @@
<paths>
<using namespace="System.Data.*" />
+ <using namespace="System.Security.*" />
<using namespace="System.Data.ActiveRecord.*" />
- <using namespace="System.Web.Services.TSoapService" />
+ <using namespace="System.Web.Services.*" />
</paths>
<modules>
@@ -12,6 +13,14 @@
<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>
@@ -21,6 +30,7 @@
provider="Application.pages.AddressProvider"
ClassMaps="AddressRecord" />
</service>
+
</services>
</application> \ No newline at end of file