diff options
author | wei <> | 2007-01-18 11:12:51 +0000 |
---|---|---|
committer | wei <> | 2007-01-18 11:12:51 +0000 |
commit | 645c9ef3729a604df17ecdf74258f92ef73dd4f5 (patch) | |
tree | 60b975893347259308c13eb87ae67f0c4c137835 /demos/address-book/protected/application.xml | |
parent | 53c401bf07d89fad12c69f482d48126661efab88 (diff) |
update address-book demo
Diffstat (limited to 'demos/address-book/protected/application.xml')
-rw-r--r-- | demos/address-book/protected/application.xml | 12 |
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 |